From d82af43cd3ba46325b1cf5ff659323e19b6104a5 Mon Sep 17 00:00:00 2001 From: Wu Gao Date: Fri, 19 Jan 2018 22:58:32 +0530 Subject: [PATCH] qcacmn: Save vdev id of current roc ctx RX mgmt frame is from interrupt thread, it may be access freed roc ctx for low rate case. Save vdev id of current roc ctx in p2p psoc object. Low log level of P2P RX and TX conf since too many output. Change-Id: I4c944244f32b844d78bb69d66e341a1f3bf13abf CRs-Fixed: 2180116 --- src/wlan_cfg80211_p2p.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wlan_cfg80211_p2p.c b/src/wlan_cfg80211_p2p.c index 372a115e39..e6ab17ab4d 100644 --- a/src/wlan_cfg80211_p2p.c +++ b/src/wlan_cfg80211_p2p.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2018 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -91,7 +91,7 @@ static void wlan_p2p_rx_callback(void *user_data, freq = ieee80211_channel_to_frequency( rx_frame->rx_chan, NL80211_BAND_5GHZ); - cfg80211_notice("Indicate frame over nl80211, vdev id:%d, idx:%d", + cfg80211_debug("Indicate frame over nl80211, vdev id:%d, idx:%d", rx_frame->vdev_id, wdev->netdev->ifindex); #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0)) @@ -129,7 +129,7 @@ static void wlan_p2p_action_tx_cnf_callback(void *user_data, struct wireless_dev *wdev; bool is_success; - cfg80211_info("user data:%pK, action cookie:%llx, buf:%pK, len:%d, tx status:%d", + cfg80211_debug("user data:%pK, action cookie:%llx, buf:%pK, len:%d, tx status:%d", user_data, tx_cnf->action_cookie, tx_cnf->buf, tx_cnf->buf_len, tx_cnf->status);