iwlwifi: delay ROC if doing internal reset scan
authorJohannes Berg <johannes.berg@intel.com>
Thu, 14 Jun 2012 19:22:17 +0000 (21:22 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jun 2012 11:47:07 +0000 (13:47 +0200)
commit601968b3bb1176b4cee47faba2d7a104422de8e6
tree5bc0e4aa70f48400c1533cebadceea28972989c6
parentdada03ca73b699337781ae36e1ce4c8fec2da40a
iwlwifi: delay ROC if doing internal reset scan

When the device is doing an internal radio reset
scan, ROC can be rejected to the supplicant with
busy status which confuses it.

One option would be to queue the ROC and handle
it later, but since the radio reset scan is very
quick we can just wait for it to finish instead.

Also add a warning since we shouldn't run into
the case of having a scan active when requesting
a ROC in any other case since mac80211 will not
scan while ROC or ROC while scanning.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/mac80211.c
This page took 0.03211 seconds and 5 git commands to generate.