forked from Minki/linux
b43: use ieee80211_rx_ni()
Convert to new use ieee80211_rx_ni() routine rather than open-coded version. Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
8ef37f1cb2
commit
72f5f45756
@ -690,10 +690,7 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
memcpy(IEEE80211_SKB_RXCB(skb), &status, sizeof(status));
|
memcpy(IEEE80211_SKB_RXCB(skb), &status, sizeof(status));
|
||||||
|
ieee80211_rx_ni(dev->wl->hw, skb);
|
||||||
local_bh_disable();
|
|
||||||
ieee80211_rx(dev->wl->hw, skb);
|
|
||||||
local_bh_enable();
|
|
||||||
|
|
||||||
#if B43_DEBUG
|
#if B43_DEBUG
|
||||||
dev->rx_count++;
|
dev->rx_count++;
|
||||||
|
Loading…
Reference in New Issue
Block a user