wext: remove atomic requirement for wireless stats
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 19 May 2009 15:19:36 +0000 (17:19 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 May 2009 18:05:59 +0000 (14:05 -0400)
commit87057825824973f29cf2f37cff1e549170b2d7e6
treedbbb7596aeea401a1e9c9379d0948889dbde8884
parent9cef873798dfcdc10ff40b02abf1de935ceeba85
wext: remove atomic requirement for wireless stats

The requirement for wireless stats to be atomic is now mostly
artificial since we hold the rtnl _and_ the dev_base_lock for
iterating the device list. Doing that is not required, just the
rtnl is sufficient (and the rtnl is required for other reasons
outlined in commit "wext: fix get_wireless_stats locking").

This will fix http://bugzilla.kernel.org/show_bug.cgi?id=13344
and make things easier for drivers.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/wext.c