diff options
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 29df65045fc9..1564a3018cf5 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <asm/unaligned.h> | 25 | #include <asm/unaligned.h> |
26 | 26 | ||
27 | #include "ieee80211_i.h" | 27 | #include "ieee80211_i.h" |
28 | #include "driver-ops.h" | ||
28 | #include "led.h" | 29 | #include "led.h" |
29 | #include "mesh.h" | 30 | #include "mesh.h" |
30 | #include "wep.h" | 31 | #include "wep.h" |
@@ -1162,7 +1163,7 @@ static int __ieee80211_tx(struct ieee80211_local *local, | |||
1162 | 1163 | ||
1163 | next = skb->next; | 1164 | next = skb->next; |
1164 | len = skb->len; | 1165 | len = skb->len; |
1165 | ret = local->ops->tx(local_to_hw(local), skb); | 1166 | ret = drv_tx(local, skb); |
1166 | if (WARN_ON(ret != NETDEV_TX_OK && skb->len != len)) { | 1167 | if (WARN_ON(ret != NETDEV_TX_OK && skb->len != len)) { |
1167 | dev_kfree_skb(skb); | 1168 | dev_kfree_skb(skb); |
1168 | ret = NETDEV_TX_OK; | 1169 | ret = NETDEV_TX_OK; |