mac80211: clarify scan request
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 8 Sep 2008 15:47:23 +0000 (17:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2008 19:53:37 +0000 (15:53 -0400)
commit9116dd01120e249dc2e84e6edecd7ad7f828680f
treee08ccb8239f9130dcf2fc0e27b4d97151dac9238
parentbacac545f10f2bf6e5ceff0d8e2b82dfc493602a
mac80211: clarify scan request

When a scan is requested for non-STA interfaces, we simply fire
off a scan, but for STA interfaces we shouldn't because they
could be in the middle of an association. This clarifies the
corresponding code.

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