b43: fix ieee80211_rx() context
diff mbox

Message ID 1255256361.4095.56.camel@johannes.local
State Not Applicable, archived
Headers show

Commit Message

Johannes Berg Oct. 11, 2009, 10:19 a.m. UTC
None

Patch
diff mbox

--- 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++;