1 --- a/net80211/ieee80211_wireless.c
2 +++ b/net80211/ieee80211_wireless.c
3 @@ -1370,15 +1370,9 @@ ieee80211_ioctl_siwtxpow(struct net_devi
6 fixed = (ic->ic_flags & IEEE80211_F_TXPOW_FIXED);
7 - disabled = (fixed && ic->ic_txpowlimit == 0);
10 - ic->ic_flags |= IEEE80211_F_TXPOW_FIXED;
11 - ic->ic_txpowlimit = 0;
21 if ((ic->ic_caps & IEEE80211_C_TXPMGT) == 0)
22 @@ -1571,7 +1565,7 @@ ieee80211_ioctl_giwtxpow(struct net_devi
26 - rrq->disabled = (rrq->fixed && rrq->value == 0);
28 rrq->flags = IW_TXPOW_DBM;