summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKabilan Kannan <kabilank@codeaurora.org>2017-10-30 12:40:27 -0700
committersnandini <snandini@codeaurora.org>2017-11-01 13:42:39 -0700
commitf924cc02570f515919a2e7c2359940c66af659db (patch)
tree7d6232cd3cec5e757355fb300b6a3cc9484488c4
parentf996f046cc818e33fd914fec9df49663bd85f6d9 (diff)
qcacld-3.0: Add messages in stop adapter
Add messages in stop adapter function to identify critical errors in SSR and other user call sequences Change-Id: Iec02b8f4a55b2e82c43d186818758f5400e9cab8 CRs-Fixed: 2134279
-rw-r--r--core/hdd/src/wlan_hdd_main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c
index 27d7e37f9d11..49641197d376 100644
--- a/core/hdd/src/wlan_hdd_main.c
+++ b/core/hdd/src/wlan_hdd_main.c
@@ -2373,7 +2373,10 @@ static int __hdd_stop(struct net_device *dev)
* Disable TX on the interface, after this hard_start_xmit() will not
* be called on that interface
*/
- hdd_info("Disabling queues");
+ hdd_info("Disabling queues, adapter device mode: %s(%d)",
+ hdd_device_mode_to_string(adapter->device_mode),
+ adapter->device_mode);
+
wlan_hdd_netif_queue_control(adapter,
WLAN_STOP_ALL_NETIF_QUEUE_N_CARRIER,
WLAN_CONTROL_PATH);