diff options
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_wx.c')
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_wx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_wx.c b/net/ieee80211/softmac/ieee80211softmac_wx.c index 8d0c22641ca8..22aa6199185b 100644 --- a/net/ieee80211/softmac/ieee80211softmac_wx.c +++ b/net/ieee80211/softmac/ieee80211softmac_wx.c | |||
@@ -211,8 +211,8 @@ ieee80211softmac_wx_set_rate(struct net_device *net_dev, | |||
211 | if (is_ofdm && !(ieee->modulation & IEEE80211_OFDM_MODULATION)) | 211 | if (is_ofdm && !(ieee->modulation & IEEE80211_OFDM_MODULATION)) |
212 | goto out_unlock; | 212 | goto out_unlock; |
213 | 213 | ||
214 | mac->txrates.default_rate = rate; | 214 | mac->txrates.user_rate = rate; |
215 | mac->txrates.default_fallback = lower_rate(mac, rate); | 215 | ieee80211softmac_recalc_txrates(mac); |
216 | err = 0; | 216 | err = 0; |
217 | 217 | ||
218 | out_unlock: | 218 | out_unlock: |
@@ -456,7 +456,7 @@ ieee80211softmac_wx_set_mlme(struct net_device *dev, | |||
456 | } | 456 | } |
457 | return ieee80211softmac_deauth_req(mac, net, reason); | 457 | return ieee80211softmac_deauth_req(mac, net, reason); |
458 | case IW_MLME_DISASSOC: | 458 | case IW_MLME_DISASSOC: |
459 | ieee80211softmac_disassoc(mac, reason); | 459 | ieee80211softmac_send_disassoc_req(mac, reason); |
460 | return 0; | 460 | return 0; |
461 | default: | 461 | default: |
462 | return -EOPNOTSUPP; | 462 | return -EOPNOTSUPP; |