diff options
Diffstat (limited to 'net/ieee80211/ieee80211_tx.c')
-rw-r--r-- | net/ieee80211/ieee80211_tx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ieee80211/ieee80211_tx.c b/net/ieee80211/ieee80211_tx.c index 42c50619aa8e..2955b7aa5a38 100644 --- a/net/ieee80211/ieee80211_tx.c +++ b/net/ieee80211/ieee80211_tx.c | |||
@@ -338,7 +338,8 @@ int ieee80211_xmit(struct sk_buff *skb, struct net_device *dev) | |||
338 | if (host_encrypt || ieee->host_open_frag) { | 338 | if (host_encrypt || ieee->host_open_frag) { |
339 | /* Determine fragmentation size based on destination (multicast | 339 | /* Determine fragmentation size based on destination (multicast |
340 | * and broadcast are not fragmented) */ | 340 | * and broadcast are not fragmented) */ |
341 | if (is_multicast_ether_addr(dest)) | 341 | if (is_multicast_ether_addr(dest) || |
342 | is_broadcast_ether_addr(dest)) | ||
342 | frag_size = MAX_FRAG_THRESHOLD; | 343 | frag_size = MAX_FRAG_THRESHOLD; |
343 | else | 344 | else |
344 | frag_size = ieee->fts; | 345 | frag_size = ieee->fts; |