]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: always restrict scan dwell in P2P
authorJohannes Berg <johannes.berg@intel.com>
Sat, 28 Jan 2012 16:30:52 +0000 (08:30 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 30 Jan 2012 20:48:36 +0000 (15:48 -0500)
commit74ee6f44c006c87a33776643893dcc8d43f8b6b8
tree98add62a2f8ec5439e8ff8c569eddc48607f89a3
parent980b4b188572bb4bd739018d602e2afa7de92388
iwlwifi: always restrict scan dwell in P2P

Whenever the PAN (P2P) context is active, it
has timers in the uCode that prevent sleep,
so scanning can't be out of channel for more
than the beacon interval programmed into the
device.

Before this patch, a full scan including any
passive channels when P2P was active would
stall forever because it wouldn't find time
to execute the passive requests (for default
beacon intervals of 100 TU.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-scan.c