diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-07-02 15:40:18 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-07-02 15:40:18 +0200 |
commit | cb831b537d50d21f6afb5dffbde4cf6523627461 (patch) | |
tree | 7d9b48f51264335f8338d786cbe211bda320a92e /net/mac80211/main.c | |
parent | ba0afa2f22e1e3f332e45460f99328025d44564e (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/main.c')
-rw-r--r-- | net/mac80211/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index ab32c59be894..c794101f8987 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -587,7 +587,7 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len, local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); - BUG_ON(!ops->tx && !ops->tx_frags); + BUG_ON(!ops->tx); BUG_ON(!ops->start); BUG_ON(!ops->stop); BUG_ON(!ops->config); |