mac80211: make conf_tx non-atomic
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 8 Sep 2008 09:05:09 +0000 (11:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2008 19:53:34 +0000 (15:53 -0400)
commitfe3fa827314b877486c515a001c3e6f604f6f16f
tree64b04c2ee021bf8428bc2f5e9370459bf0ae9459
parent69e6c010fd5f5015d3cc64718fbe266face93770
mac80211: make conf_tx non-atomic

The conf_tx callback currently needs to be atomic, this requirement
is just because it can be called from scanning. This rearranges it
slightly to only update while not scanning (which is fine, we'll be
getting beacons when associated) and thus removes the atomic
requirement.

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