]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: rtl8723au: rtw_joinbss_update_network23a(): update beacon info as well
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 21 Jun 2014 14:50:17 +0000 (16:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jun 2014 20:08:37 +0000 (13:08 -0700)
We need to copy over the beacon info (interval, capability, tsf) as
well as the IE data.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme.c

index c91ea8c64af0731f18ffdb4d8991a301a9a6cfb7..b7a35288a1f0b3acccaa42fd052da3f205d8f3d3 100644 (file)
@@ -1035,6 +1035,10 @@ rtw_joinbss_update_network23a(struct rtw_adapter *padapter,
        memcpy(&cur_network->network.IEs[0], &ptarget_wlan->network.IEs[0],
               MAX_IE_SZ);
 
+       cur_network->network.capability = ptarget_wlan->network.capability;
+       cur_network->network.beacon_interval =
+               ptarget_wlan->network.beacon_interval;
+       cur_network->network.tsf = ptarget_wlan->network.tsf;
        cur_network->aid = pnetwork->join_res;
 
        rtw_set_signal_stat_timer(&padapter->recvpriv);