mac80211: refactor and move scan RX code
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 8 Sep 2008 15:44:26 +0000 (17:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2008 19:53:37 +0000 (15:53 -0400)
commit98c8fccfaea838e62ffde2f2e44568844e0e5472
treec69552d4be03dd8321b6f90b3fbb17c607fa9940
parent0a51b27e956bd9580296c48191b78175ed8b5971
mac80211: refactor and move scan RX code

This patch refactors some code and moves the scan RX function
to scan.c. More importantly, however, it changes it so that the
MLME's beacon/probe_resp functions aren't invoked when scanning
so that we can remove a "if (scanning)" conditions from two
places.

There's a very slight behavioural change in this patch: now,
when scanning, IBSS and mesh aren't updated even on the same
channel.

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