diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-11-14 02:35:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-11-14 02:35:04 +0000 |
commit | bb572e08f8346d1a1665dd15030576b10fb385cd (patch) | |
tree | 6a674f61f97c7b05d1a6d81e7491fb4130e5cea7 /package/mac80211/patches/405-b43_locking_fix.patch | |
parent | eaf1d61e6d76cc19aeaee5b31833f6e844264e0b (diff) | |
download | upstream-bb572e08f8346d1a1665dd15030576b10fb385cd.tar.gz upstream-bb572e08f8346d1a1665dd15030576b10fb385cd.tar.bz2 upstream-bb572e08f8346d1a1665dd15030576b10fb385cd.zip |
mac80211: update to 2009-11-13 and add some of my new performance improvement patches. fixes excessive cpu usage of hostapd in ap mode, should also fix the ath9k memleak
SVN-Revision: 18415
Diffstat (limited to 'package/mac80211/patches/405-b43_locking_fix.patch')
-rw-r--r-- | package/mac80211/patches/405-b43_locking_fix.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/package/mac80211/patches/405-b43_locking_fix.patch b/package/mac80211/patches/405-b43_locking_fix.patch deleted file mode 100644 index c90890a7a7..0000000000 --- a/package/mac80211/patches/405-b43_locking_fix.patch +++ /dev/null @@ -1,23 +0,0 @@ -Subject: [PATCH] b43: work around a locking issue in ->set_tim() - -ops->set_tim() must be atomic, so b43 trying to acquire a mutex leads -to a kernel crash. This patch trades an easy to trigger crash in AP -mode for an unlikely race condition. According to Michael, the real -fix would be to allow set_tim() callbacks to sleep, since b43 is -not the only driver that needs to sleep in all callbacks. - -Signed-off-by: Felix Fietkau <nbd@openwrt.org> - ---- a/drivers/net/wireless/b43/main.c -+++ b/drivers/net/wireless/b43/main.c -@@ -4534,9 +4534,8 @@ static int b43_op_beacon_set_tim(struct - { - struct b43_wl *wl = hw_to_b43_wl(hw); - -- mutex_lock(&wl->mutex); -+ /* FIXME: add locking */ - b43_update_templates(wl); -- mutex_unlock(&wl->mutex); - - return 0; - } |