On 15 June 2015 at 12:33, Sujith Manoharan <sujith@xxxxxxxxxxx> wrote: > Janusz Dziedzic wrote: >> Add p2p dev support when ath9k loaded with >> use_chanctx=1. This will fix problem, when first >> interface is an AP and next we would like to run >> p2p_find. Before p2p scan failed. >> >> Signed-off-by: Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx> >> --- >> @Felix, Sujith please review. I am not sure if didn't miss some >> case for NL80211_IFTYPE_P2P_DEVICE (special handling required?). > > At least the callbacks for adding/removing interfaces need > to be handled ? > Strange, but I didn't hit any problem yet with my simple patch. > But, can you describe the sequence of commands used that > resulted in this issue ? > 1. load ath9k with use_chanctx=1 2. run wpa_supplicant using wlan0 3. connect wlan0 to AP 4. when we are connected, run p2p_find form wpa_cli 5. scan will failed with Operation not supported (even I will force-ap-scan, while chanctx version using hw_scan callback ...) 6. p2p_find will fail BR Janusz -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html