From 8dac350e5304b3e0086fb8d435a1289dde0178b3 Mon Sep 17 00:00:00 2001 From: Kabilan Kannan Date: Mon, 30 Oct 2017 12:40:27 -0700 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index df120c361c7d..2da262d1e51f 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -2698,7 +2698,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_notice("Disabling queues"); + hdd_notice("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);