mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Update the phy mode correctly after roaming
After roaming the phy mode gets updated by FW via roam_sync event. Update wma with the value from the roam_sync event. Change-Id: Ie4b47ad83866f033bcd92781fdb05bd7456180f5 CRs-Fixed: 2477071
This commit is contained in:
parent
9fc987a8a2
commit
f68b764b54
1 changed files with 10 additions and 3 deletions
|
|
@ -2884,9 +2884,16 @@ int wma_mlme_roam_synch_event_handler_cb(void *handle, uint8_t *event,
|
|||
* results in firmware assert.
|
||||
*/
|
||||
channel = wlan_freq_to_chan(wma->interfaces[synch_event->vdev_id].mhz);
|
||||
wma_get_phy_mode_cb(channel,
|
||||
wma->interfaces[synch_event->vdev_id].chan_width,
|
||||
&wma->interfaces[synch_event->vdev_id].chanmode);
|
||||
if (param_buf->chan) {
|
||||
wma->interfaces[synch_event->vdev_id].chanmode =
|
||||
WMI_GET_CHANNEL_MODE(param_buf->chan);
|
||||
} else {
|
||||
wma_get_phy_mode_cb(channel,
|
||||
wma->interfaces[synch_event->vdev_id].
|
||||
chan_width,
|
||||
&wma->interfaces[synch_event->vdev_id].
|
||||
chanmode);
|
||||
}
|
||||
|
||||
wma->csr_roam_synch_cb((struct mac_context *)wma->mac_context,
|
||||
roam_synch_ind_ptr, bss_desc_ptr, SIR_ROAM_SYNCH_COMPLETE);
|
||||
|
|
|
|||
Loading…
Reference in a new issue