qcacld-3.0: Enable QDF ID allocation API
Enable QDF ID allocation API in Kbuild.
Change-Id: Id43b16175e59f40ad111b03439f34d63ea14c627
CRs-Fixed: 2242753
diff --git a/Kbuild b/Kbuild
index f91a371..1619ddc 100644
--- a/Kbuild
+++ b/Kbuild
@@ -982,6 +982,7 @@
$(QDF_LINUX_OBJ_DIR)/qdf_threads.o \
$(QDF_LINUX_OBJ_DIR)/qdf_crypto.o \
$(QDF_LINUX_OBJ_DIR)/qdf_trace.o \
+ $(QDF_LINUX_OBJ_DIR)/qdf_idr.o \
$(QDF_OBJ_DIR)/qdf_flex_mem.o \
$(QDF_OBJ_DIR)/qdf_parse.o \
$(QDF_OBJ_DIR)/qdf_platform.o \
diff --git a/core/hdd/src/wlan_hdd_p2p.c b/core/hdd/src/wlan_hdd_p2p.c
index bd68ea9..887a4c7 100644
--- a/core/hdd/src/wlan_hdd_p2p.c
+++ b/core/hdd/src/wlan_hdd_p2p.c
@@ -144,7 +144,8 @@
status = wlan_cfg80211_roc(adapter->hdd_vdev, chan,
duration, cookie);
- hdd_debug("remain on channel request, status:%d", status);
+ hdd_debug("remain on channel request, status:%d, cookie:0x%llx",
+ status, *cookie);
return qdf_status_to_os_return(status);
}
@@ -264,7 +265,7 @@
status = wlan_cfg80211_mgmt_tx(adapter->hdd_vdev, chan,
offchan, wait, buf, len, no_cck,
dont_wait_for_ack, cookie);
- hdd_debug("mgmt tx, status:%d", status);
+ hdd_debug("mgmt tx, status:%d, cookie:0x%llx", status, *cookie);
return 0;
}