]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: don't always split remain-on-channel
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Nov 2011 14:55:22 +0000 (06:55 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 17:32:55 +0000 (12:32 -0500)
commit9e0dd32ec9b3448a1d3c0653e7ea695d8b8eab38
treea7fa0ac34cc1d3696f49770a0070af533d75a0d2
parent767b2f00e4ba60d368c3a5058989a05fc4237cb0
iwlagn: don't always split remain-on-channel

Due to the P2P context always having the associated
bit set when we got to this code, we were splitting
up the remain-on-channel durations unconditionally.
This isn't needed -- if the P2P context is in P2P
device type mode it doesn't impose restrictions on
timing to skip it in that case.

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