aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-02 09:40:18 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-07-02 09:40:18 -0400
commitcb831b537d50d21f6afb5dffbde4cf6523627461 (patch)
tree7d9b48f51264335f8338d786cbe211bda320a92e /net/mac80211/tx.c
parentba0afa2f22e1e3f332e45460f99328025d44564e (diff)
mac80211: remove tx_frags driver callback
The implementation of tx_frags is buggy due to not handling queue stop, and there's no driver implementing it so remove it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 4990f4fb5864..364a1e7b4afa 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1295,11 +1295,8 @@ static bool __ieee80211_tx(struct ieee80211_local *local,
1295 break; 1295 break;
1296 } 1296 }
1297 1297
1298 if (local->ops->tx_frags) 1298 result = ieee80211_tx_frags(local, vif, pubsta, skbs,
1299 drv_tx_frags(local, vif, pubsta, skbs); 1299 txpending);
1300 else
1301 result = ieee80211_tx_frags(local, vif, pubsta, skbs,
1302 txpending);
1303 1300
1304 ieee80211_tpt_led_trig_tx(local, fc, led_len); 1301 ieee80211_tpt_led_trig_tx(local, fc, led_len);
1305 ieee80211_led_tx(local, 1); 1302 ieee80211_led_tx(local, 1);