Acually it is better to bock any managemnt frame task while scanning, in this function we might end up calling the driver to tune to a channel, which will cause to stop scan. I think it is better to keep the check and return if we are doing any scan. I guess this condition is added to stabilize the mac80211 and it will do the same for iwl driver with HW scan. > > > > > @@ -1985,7 +2003,7 @@ void ieee80211_sta_work(struct work_struct > > *work) > > > if (!netif_running(dev)) > > > return; > > > > > > - if (local->sta_scanning) > > > + if (local->sta_sw_scanning || local->sta_hw_scanning) > > > return; > > > > Shouldn't the sta work be able to run normally while hw scan is in > > progress? > > - 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