mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
qcacld-3.0: Fix call to get vdev mlme obj
In the validate beacon interval logic, there are a few calls to get the vdev MLME object from the interface manager component. However, the component does not have a vdev object, so get it from the MLME component instead. Change-Id: I7333edeb6f1f0d5669605fe9e3d4fb10745d1fa4 CRs-fixed: 2928798
This commit is contained in:
parent
ff09775985
commit
af8d076163
1 changed files with 3 additions and 3 deletions
|
|
@ -411,7 +411,7 @@ static bool if_mgr_validate_sta_bcn_intrvl(struct wlan_objmgr_vdev *vdev,
|
|||
|
||||
vdev_mlme =
|
||||
wlan_objmgr_vdev_get_comp_private_obj(vdev,
|
||||
WLAN_UMAC_COMP_IF_MGR);
|
||||
WLAN_UMAC_COMP_MLME);
|
||||
if (!vdev_mlme) {
|
||||
QDF_ASSERT(0);
|
||||
return false;
|
||||
|
|
@ -511,7 +511,7 @@ static bool if_mgr_validate_p2pcli_bcn_intrvl(struct wlan_objmgr_vdev *vdev,
|
|||
|
||||
vdev_mlme =
|
||||
wlan_objmgr_vdev_get_comp_private_obj(vdev,
|
||||
WLAN_UMAC_COMP_IF_MGR);
|
||||
WLAN_UMAC_COMP_MLME);
|
||||
if (!vdev_mlme) {
|
||||
QDF_ASSERT(0);
|
||||
return false;
|
||||
|
|
@ -557,7 +557,7 @@ if_mgr_validate_p2pgo_bcn_intrvl(struct wlan_objmgr_vdev *vdev,
|
|||
|
||||
vdev_mlme =
|
||||
wlan_objmgr_vdev_get_comp_private_obj(vdev,
|
||||
WLAN_UMAC_COMP_IF_MGR);
|
||||
WLAN_UMAC_COMP_MLME);
|
||||
if (!vdev_mlme) {
|
||||
QDF_ASSERT(0);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue