mac80211: check operating channel in scan
authorJohannes Berg <johannes.berg@intel.com>
Thu, 26 Jul 2012 12:38:32 +0000 (14:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Aug 2012 12:13:43 +0000 (14:13 +0200)
commit9b8648704358e42f9865cd6de7cedb5ac0db67e7
tree28cd1d6816bc7f3a779ab5690d7a0682f4a9f520
parent4797c7ba93e4049cdda18045c01bbe563aafff69
mac80211: check operating channel in scan

The optimisation of scanning only on the current
channel should check the operating channel. Also
modify it to compare channel pointer rather than
the frequency.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/scan.c