diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_mac.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c index 2696f95b9278..d7a86b188a99 100644 --- a/drivers/net/wireless/zd1211rw/zd_mac.c +++ b/drivers/net/wireless/zd1211rw/zd_mac.c | |||
@@ -1059,10 +1059,8 @@ int zd_mac_rx(struct zd_mac *mac, const u8 *buffer, unsigned int length) | |||
1059 | memcpy(skb_put(skb, length), buffer, length); | 1059 | memcpy(skb_put(skb, length), buffer, length); |
1060 | 1060 | ||
1061 | r = ieee80211_rx(ieee, skb, &stats); | 1061 | r = ieee80211_rx(ieee, skb, &stats); |
1062 | if (!r) { | 1062 | if (!r) |
1063 | ZD_ASSERT(in_irq()); | 1063 | dev_kfree_skb_any(skb); |
1064 | dev_kfree_skb_irq(skb); | ||
1065 | } | ||
1066 | return 0; | 1064 | return 0; |
1067 | } | 1065 | } |
1068 | 1066 | ||