diff --git a/net/mac80211/wext.c b/net/mac80211/wext.c
index ce9115c1815282d9c333c6a1f755eaf298375256..959aa8379ccf957a7196283df3c3d98f6aa79bbf 100644
--- a/net/mac80211/wext.c
+++ b/net/mac80211/wext.c
@@ -555,7 +555,7 @@ static int ieee80211_ioctl_giwfrag(struct net_device *dev,
 	struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);
 
 	frag->value = local->fragmentation_threshold;
-	frag->disabled = (frag->value >= IEEE80211_MAX_RTS_THRESHOLD);
+	frag->disabled = (frag->value >= IEEE80211_MAX_FRAG_THRESHOLD);
 	frag->fixed = 1;
 
 	return 0;