qcacld-3.0: Use WLAN_INTEROP_ISSUES_AP_ID dbg id for interop AP
Use WLAN_INTEROP_ISSUES_AP_ID for interop issue module instead of generic WLAN_OS_IF_ID. Change-Id: I019a51f2f80ce553f9e0767cdc849618ac101ebc CRs-Fixed: 2823554
This commit is contained in:
parent
7e04bb5e0f
commit
9aadb2dcf2
@ -181,14 +181,14 @@ __wlan_cfg80211_set_interop_issues_ap_config(struct wiphy *wiphy,
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
struct wlan_objmgr_vdev *vdev;
|
||||
|
||||
vdev = hdd_objmgr_get_vdev(adapter);
|
||||
vdev = hdd_objmgr_get_vdev_by_user(adapter, WLAN_INTEROP_ISSUES_AP_ID);
|
||||
if (!vdev) {
|
||||
osif_err("Invalid vdev");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
psoc = wlan_vdev_get_psoc(vdev);
|
||||
hdd_objmgr_put_vdev(vdev);
|
||||
hdd_objmgr_put_vdev_by_user(vdev, WLAN_INTEROP_ISSUES_AP_ID);
|
||||
if (!psoc) {
|
||||
osif_err("Invalid psoc");
|
||||
return -EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user