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
This commit is contained in:
Kabilan Kannan 2017-10-30 12:40:27 -07:00 • committed by snandini
commit 8dac350e53

View file

@ -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);