mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: KW issue in wma_update_phymode_on_roam
vdev_mlme was not checked for null before getting dereferenced Change-Id: I09a696b66304cce525ca6ec382f51799b1b64daf CRs-Fixed: 2669335
This commit is contained in:
parent
15dcf8301f
commit
d84070d054
1 changed files with 2 additions and 0 deletions
|
|
@ -2793,6 +2793,8 @@ static void wma_update_phymode_on_roam(tp_wma_handle wma, uint8_t *bssid,
|
|||
des_chan = wlan_vdev_mlme_get_des_chan(iface->vdev);
|
||||
|
||||
des_chan->ch_phymode = bss_phymode;
|
||||
if (!vdev_mlme)
|
||||
return;
|
||||
/* Till conversion is not done in WMI we need to fill fw phy mode */
|
||||
vdev_mlme->mgmt.generic.phy_mode = wma_host_to_fw_phymode(bss_phymode);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue