]> git.openfabrics.org - ~emulex/infiniband.git/commit
cfg80211: prohibit scanning the same channel more than once
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 17 Jun 2009 15:41:49 +0000 (17:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 18:57:54 +0000 (14:57 -0400)
commit83f5e2cf79390f7ca909b7035dd415230257cc4d
treec6b2fdf4a727ae6a7d87afe205dde078339d151d
parent386aa23dd5f94b810210b9f849807946a5100b57
cfg80211: prohibit scanning the same channel more than once

It isn't very useful to scan the same channel more than once
during a given scan, and some hardware (notably iwlwifi) can
only scan a limited number of channels at a time. To prevent
any overflows, simply disallow scanning any channel multiple
times in a given scan command. This is a small change in the
userspace ABI, but the only user, wpa_supplicant, never asks
for a scan with the same frequency listed twice.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c