qcacmn: Fix compile implicit conversion from enumeration type error

Error: implicit conversion from enumeration type
'enum wlan_umac_comp_id' to different enumeration type
 'wlan_objmgr_ref_dbgid' [-Werror,-Wenum-conversion]

Change-Id: I641c1eee77e977547841cebb4fd2fef8c06ca18c
CRs-Fixed: 2271058
This commit is contained in:
Jianmin Zhu
2018-06-29 11:42:13 +08:00
committed by nshrivas
szülő f290a54316
commit 143f083967
2 fájl változott, egészen pontosan 3 új sor hozzáadva és 3 régi sor törölve

Fájl megtekintése

@@ -240,7 +240,7 @@ static int os_if_nan_process_ndi_delete(struct wlan_objmgr_psoc *psoc,
/* delete all peer for this interface first */
wlan_objmgr_iterate_obj_list(psoc, WLAN_PEER_OP,
os_if_nan_vdev_delete_peer,
nan_vdev, 1, WLAN_UMAC_COMP_NAN);
nan_vdev, 1, WLAN_NAN_ID);
/*
* wlan_util_get_vdev_by_ifname increments ref count

Fájl megtekintése

@@ -112,11 +112,11 @@ static QDF_STATUS nan_psoc_obj_destroyed_notification(
wlan_objmgr_iterate_obj_list(psoc, WLAN_PEER_OP,
nan_psoc_delete_peer,
NULL, 1, WLAN_UMAC_COMP_NAN);
NULL, 1, WLAN_NAN_ID);
wlan_objmgr_iterate_obj_list(psoc, WLAN_VDEV_OP,
nan_psoc_delete_vdev,
NULL, 1, WLAN_UMAC_COMP_NAN);
NULL, 1, WLAN_NAN_ID);
status = wlan_objmgr_psoc_component_obj_detach(psoc,
WLAN_UMAC_COMP_NAN, nan_obj);