Jelajahi Sumber

qcacld-3.0: Print the macaddress after the LA is reset

Presently in the sta mode locally administered  is set and it
is not logged with new macaddress.

Print the macaddress of the STA once the LA bit is reset.

Change-Id: I5ab5c67c622723f32500bc07d815efb02bd834a7
CRs-Fixed: 2069219
Arunk Khandavalli 7 tahun lalu
induk
melakukan
794fdfce82
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      core/hdd/src/wlan_hdd_main.c

+ 2 - 0
core/hdd/src/wlan_hdd_main.c

@@ -3937,6 +3937,8 @@ struct hdd_adapter *hdd_open_adapter(struct hdd_context *hdd_ctx, uint8_t sessio
 	case QDF_STA_MODE:
 		/* Reset locally administered bit if the device mode is STA */
 		WLAN_HDD_RESET_LOCALLY_ADMINISTERED_BIT(macAddr);
+		hdd_info("locally administered bit reset in sta mode: "
+			 MAC_ADDRESS_STR, MAC_ADDR_ARRAY(macAddr));
 	/* fall through */
 	case QDF_P2P_CLIENT_MODE:
 	case QDF_P2P_DEVICE_MODE: