aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00mac.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00mac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c
index c05e05b58887..b02dbc8a666e 100644
--- a/drivers/net/wireless/rt2x00/rt2x00mac.c
+++ b/drivers/net/wireless/rt2x00/rt2x00mac.c
@@ -114,6 +114,7 @@ int rt2x00mac_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
114 */ 114 */
115 if (!test_bit(DEVICE_PRESENT, &rt2x00dev->flags)) { 115 if (!test_bit(DEVICE_PRESENT, &rt2x00dev->flags)) {
116 ieee80211_stop_queues(hw); 116 ieee80211_stop_queues(hw);
117 dev_kfree_skb_any(skb);
117 return NETDEV_TX_OK; 118 return NETDEV_TX_OK;
118 } 119 }
119 120