Message ID | 1429283751-5104-3-git-send-email-johannes@sipsolutions.net (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Johannes Berg |
Headers | show |
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index d5bfa6c4afd0..86d64bd11c01 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -2439,7 +2439,8 @@ void ieee80211_check_fast_xmit(struct sta_info *sta, gfp_t gfp) return; /* fast-xmit doesn't handle fragmentation at all */ - if (local->hw.wiphy->frag_threshold != (u32)-1) + if (local->hw.wiphy->frag_threshold != (u32)-1 && + !local->ops->set_frag_threshold) return; rcu_read_lock();