diff options
author | Dustin Brown <dustinb@codeaurora.org> | 2018-01-26 17:21:57 -0800 |
---|---|---|
committer | snandini <snandini@codeaurora.org> | 2018-02-28 14:57:53 -0800 |
commit | fb6527630f023ae389b796ad1e1532c57ec6293e (patch) | |
tree | e4271785e955fab9370fad8f168718fcb2309c95 /utils | |
parent | 013ae979a62ec972d1a77c3edf679ddfb8bf0fd9 (diff) | |
download | qca-wfi-host-cmn-fb6527630f023ae389b796ad1e1532c57ec6293e.tar.gz |
qcacmn: Deprecate WLAN_MACADDR_LEN
At some point WLAN_MACADDR_LEN was added to the driver, despite
QDF_MAC_ADDR_SIZE already serving the same purpose. There are cases
where these two macros are implicitly assumed to be the same value.
This is a classic single-source-of-truth violation, and only serves to
confuse developers. Deprecate WLAN_MACADDR_LEN and use
QDF_MAC_ADDR_SIZE instead.
Change-Id: I4e941d5e17d161a5810e693c89b95ae08f83c6b0
CRs-Fixed: 2179728
Diffstat (limited to 'utils')
-rw-r--r-- | utils/logging/src/wlan_roam_debug.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/logging/src/wlan_roam_debug.c b/utils/logging/src/wlan_roam_debug.c index 037b0e7f1..110827b82 100644 --- a/utils/logging/src/wlan_roam_debug.c +++ b/utils/logging/src/wlan_roam_debug.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -86,10 +86,10 @@ void wlan_roam_debug_log(uint8_t vdev_id, uint8_t op, rec->peer_id = peer_id; if (mac_addr) qdf_mem_copy(rec->mac_addr.bytes, mac_addr, - WLAN_MACADDR_LEN); + QDF_MAC_ADDR_SIZE); else qdf_mem_zero(rec->mac_addr.bytes, - WLAN_MACADDR_LEN); + QDF_MAC_ADDR_SIZE); rec->peer_obj = peer_obj; rec->arg1 = arg1; rec->arg2 = arg2; |