瀏覽代碼

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
Kabilan Kannan 7 年之前
父節點
當前提交
8dac350e53
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      core/hdd/src/wlan_hdd_main.c

+ 4 - 1
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);