瀏覽代碼

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
Liangwei Dong 4 年之前
父節點
當前提交
9aadb2dcf2
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      os_if/interop_issues_ap/src/wlan_cfg80211_interop_issues_ap.c

+ 2 - 2
os_if/interop_issues_ap/src/wlan_cfg80211_interop_issues_ap.c

@@ -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;