]> git.karo-electronics.de Git - linux-beck.git/commit
mac80211: track enable_beacon explicitly
authorJohannes Berg <johannes.berg@intel.com>
Fri, 14 Dec 2012 13:06:28 +0000 (14:06 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:35 +0000 (13:01 +0100)
commitd6a83228823fc0cc8d79d95c9f0bf568b7317862
tree322f306f105337ae9e641eb11e16cc01efd83753
parent8a61af65c6d03781015315dbc43d0942a5b31db9
mac80211: track enable_beacon explicitly

Instead of calculating in ieee80211_bss_info_change_notify()
whether beaconing should be enabled or not, set it in the
correct places in the callers. This simplifies the logic in
this function at the expense of offchannel, but is also more
robust.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/mesh.c
net/mac80211/offchannel.c