nl80211: Add set/get for frag/rts threshold and retry limits
[linux-block.git] / net / mac80211 / util.c
index 3dd490fa4b68aa58b6c21db03f9fbc85846532b5..11244212f41ddc62c69fc10ddaf7208d625dbdbf 100644 (file)
@@ -1044,7 +1044,7 @@ int ieee80211_reconfig(struct ieee80211_local *local)
 
        /* setup RTS threshold */
        if (local->ops->set_rts_threshold)
-               local->ops->set_rts_threshold(hw, local->rts_threshold);
+               local->ops->set_rts_threshold(hw, hw->wiphy->rts_threshold);
 
        /* reconfigure hardware */
        ieee80211_hw_config(local, ~0);