]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2be1870c8572b00dd30b5c15182e38495f345f1
tree64b04c2ee021bf8428bc2f5e9370459bf0ae9459
parent4d27ab65a38310db8ecb72ba210df3bfbe63be19
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