mac80211: Replace {sw, hw}_scanning variables with a bitfield
authorHelmut Schaa <helmut.schaa@googlemail.com>
Thu, 23 Jul 2009 10:14:04 +0000 (12:14 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Jul 2009 19:24:16 +0000 (15:24 -0400)
commitfbe9c429f195111bbf7f1630efa19aee295fd8e7
tree80556ac48bfa0e7d60db63e6c71b0bbf58143263
parent2fb3f028a9a46bd344329766257699b4acb36525
mac80211: Replace {sw, hw}_scanning variables with a bitfield

Use a bitfield to store the current scan mode instead of two boolean
variables {sw,hw}_scanning. This patch does not introduce functional
changes but allows us to enhance the scan flags later (for example
for background scanning).

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/mesh.c
net/mac80211/mlme.c
net/mac80211/rx.c
net/mac80211/scan.c
net/mac80211/tx.c