qcacmn: qdf: Remove QDF_MAC_ADDR_STR and QDF_MAC_ADDR_ARRAY

These two macros are obsolete and removed.
Use the below new macros
1. For logging MAC address in kernel or driver logs, use QDF_MAC_ADDR_FMT
   in combination with QDF_MAC_ADDR_REF
2. For other management interfaces like debugfs, sysfs, ioctl, wext,
   unit test code, non-production simulation SW use
   QDF_FULL_MAC_FMT and QDF_FULL_MAC_REF

Change-Id: I366ceddfbb86526ebf24366b18b9e847fc5e4cea
CRs-Fixed: 2767703
This commit is contained in:
Srinivas Girigowda
2020-08-10 16:49:05 -07:00
committed by snandini
parent 173c0315d8
commit 67d43c98ee

View File

@@ -840,9 +840,6 @@ QDF_STATUS qdf_uint64_parse(const char *int_str, uint64_t *out_int);
#define QDF_FULL_MAC_FMT "%pM"
#define QDF_FULL_MAC_REF(a) (a)
#define QDF_MAC_ADDR_STR "%02x:%02x:%02x:%02x:%02x:%02x"
#define QDF_MAC_ADDR_ARRAY(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]
#if defined(WLAN_TRACE_HIDE_MAC_ADDRESS)
#define QDF_MAC_ADDR_FMT "%02x:**:**:**:%02x:%02x"