From 24466e36934e70f87476fa730c5ebde8e7609bc2 Mon Sep 17 00:00:00 2001 From: Wu Gao Date: Thu, 10 May 2018 19:08:26 +0800 Subject: [PATCH] qcacld-3.0: Enable QDF ID allocation API Enable QDF ID allocation API in Kbuild. Change-Id: Id43b16175e59f40ad111b03439f34d63ea14c627 CRs-Fixed: 2242753 --- Kbuild | 1 + core/hdd/src/wlan_hdd_p2p.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Kbuild b/Kbuild index f91a37177198..1619ddcfde05 100644 --- a/Kbuild +++ b/Kbuild @@ -982,6 +982,7 @@ QDF_OBJS := $(QDF_LINUX_OBJ_DIR)/qdf_defer.o \ $(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 bd68ea968195..887a4c7d8ceb 100644 --- a/core/hdd/src/wlan_hdd_p2p.c +++ b/core/hdd/src/wlan_hdd_p2p.c @@ -144,7 +144,8 @@ static int __wlan_hdd_cfg80211_remain_on_channel(struct wiphy *wiphy, 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 @@ static int __wlan_hdd_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, 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; }