Patchwork b43: fix ieee80211_rx() context

login
register
mail settings
Submitter Johannes Berg
Date Oct. 11, 2009, 10:19 a.m.
Message ID <1255256361.4095.56.camel@johannes.local>
Download mbox | patch
Permalink /patch/52997/
State Not Applicable, archived
Headers show

Comments

Patch

--- wireless-testing.orig/drivers/net/wireless/b43/xmit.c	2009-10-11 12:11:50.000000000 +0200
+++ wireless-testing/drivers/net/wireless/b43/xmit.c	2009-10-11 12:12:06.000000000 +0200
@@ -690,7 +690,10 @@  void b43_rx(struct b43_wldev *dev, struc
 	}
 
 	memcpy(IEEE80211_SKB_RXCB(skb), &status, sizeof(status));
+
+	local_bh_disable();
 	ieee80211_rx(dev->wl->hw, skb);
+	local_bh_enable();
 
 #if B43_DEBUG
 	dev->rx_count++;