diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-11-16 16:02:47 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-21 22:20:43 +0100 |
commit | 11127e9121d4dd9da868cf0fd89dcac35f7f0fa3 (patch) | |
tree | 8cb16ecbd5942679c18934064b935a7e256a77da /net/mac80211/main.c | |
parent | mac80211: make TX LED handling independent of fragmentation (diff) | |
download | linux-11127e9121d4dd9da868cf0fd89dcac35f7f0fa3.tar.xz linux-11127e9121d4dd9da868cf0fd89dcac35f7f0fa3.zip |
mac80211: transmit fragment list to drivers
Drivers can usually handle fragmented packets
much easier when they get the entire list of
fragments at once. The only thing they need to
do is keep enough space on the queues for up
to ten fragments of a single MSDU.
This allows them to implement this with a new
operation tx_frags.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.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 e323d4e6647b..3df4482bb1d9 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -609,7 +609,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); + BUG_ON(!ops->tx && !ops->tx_frags); BUG_ON(!ops->start); BUG_ON(!ops->stop); BUG_ON(!ops->config); |