aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 1865622003c9..e5b148fe24bb 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -787,7 +787,7 @@ ieee80211_tx_h_fragment(struct ieee80211_tx_data *tx)
787 hdrlen = ieee80211_hdrlen(hdr->frame_control); 787 hdrlen = ieee80211_hdrlen(hdr->frame_control);
788 788
789 /* internal error, why is TX_FRAGMENTED set? */ 789 /* internal error, why is TX_FRAGMENTED set? */
790 if (WARN_ON(skb->len <= frag_threshold)) 790 if (WARN_ON(skb->len + FCS_LEN <= frag_threshold))
791 return TX_DROP; 791 return TX_DROP;
792 792
793 /* 793 /*