Переглянути джерело

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