Message ID | 1398329507-5911-81-git-send-email-luis.henriques@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index a83d76a..06f71fb 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -2871,8 +2871,8 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata, bss = ieee80211_bss_info_update(local, rx_status, mgmt, len, elems, channel); if (bss) { - ieee80211_rx_bss_put(local, bss); sdata->vif.bss_conf.beacon_rate = bss->beacon_rate; + ieee80211_rx_bss_put(local, bss); } }