aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-11-16 10:02:47 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-11-21 16:20:43 -0500
commit11127e9121d4dd9da868cf0fd89dcac35f7f0fa3 (patch)
tree8cb16ecbd5942679c18934064b935a7e256a77da /net/mac80211/main.c
parent74e4dbfd57a38c4ec4131cebdbfa3d621d38dd6a (diff)
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.c2
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,
609 609
610 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); 610 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN);
611 611
612 BUG_ON(!ops->tx); 612 BUG_ON(!ops->tx && !ops->tx_frags);
613 BUG_ON(!ops->start); 613 BUG_ON(!ops->start);
614 BUG_ON(!ops->stop); 614 BUG_ON(!ops->stop);
615 BUG_ON(!ops->config); 615 BUG_ON(!ops->config);