From cf19f91320e4415491a1310be61e516ce8ac932f Mon Sep 17 00:00:00 2001 From: Paul Zhang Date: Mon, 5 Jun 2023 11:22:15 +0800 Subject: [PATCH] qcacmn: Fix compile issue on file wlan_mlo_epcs.c Replacing ether_sprintf() with QDF_MAC_ADDR_REF() for common usage. Change-Id: I86a7169411af18f017fc3c0e27ce8a35f6ebd4a0 CRs-Fixed: 3519162 --- umac/mlo_mgr/src/wlan_mlo_epcs.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/umac/mlo_mgr/src/wlan_mlo_epcs.c b/umac/mlo_mgr/src/wlan_mlo_epcs.c index 7f9ce1fa91..4ab31758d3 100644 --- a/umac/mlo_mgr/src/wlan_mlo_epcs.c +++ b/umac/mlo_mgr/src/wlan_mlo_epcs.c @@ -531,8 +531,8 @@ wlan_mlo_update_authorize_epcs_mac_addr(struct wlan_objmgr_vdev *vdev, } if (found_entry) { - epcs_debug("Mac address %s is already authorized", - ether_sprintf(peer_mld_mac)); + epcs_debug("Mac add "QDF_MAC_ADDR_FMT" is already authorized", + QDF_MAC_ADDR_REF(peer_mld_mac)); return QDF_STATUS_E_INVAL; } @@ -546,8 +546,8 @@ wlan_mlo_update_authorize_epcs_mac_addr(struct wlan_objmgr_vdev *vdev, peer_mld_mac, QDF_MAC_ADDR_SIZE); - epcs_debug("EPCS Stored authorize mac addr is %s at index %d", - ether_sprintf(peer_mld_mac), free_index); + epcs_debug("EPCS Stored authorize mac addr is"QDF_MAC_ADDR_FMT" at index %d", + QDF_MAC_ADDR_REF(peer_mld_mac), free_index); return QDF_STATUS_SUCCESS; } @@ -577,20 +577,20 @@ wlan_mlo_update_deauthorize_epcs_mac_addr(struct wlan_objmgr_vdev *vdev, } if (!found_entry) { - epcs_debug("Mac address %s not found in authorized database", - ether_sprintf(peer_mld_mac)); + epcs_debug("Mac addr "QDF_MAC_ADDR_FMT" not found in authorized database", + QDF_MAC_ADDR_REF(peer_mld_mac)); return QDF_STATUS_E_INVAL; } if (found_entry && !epcs_ctx->authorize_info[i].valid) { - epcs_debug("Mac address %s is already deauthorized in database", - ether_sprintf(peer_mld_mac)); + epcs_debug("Mac addr "QDF_MAC_ADDR_FMT" is already deauthorized in database", + QDF_MAC_ADDR_REF(peer_mld_mac)); return QDF_STATUS_E_INVAL; } epcs_ctx->authorize_info[i].valid = false; - epcs_debug("EPCS Stored authorize mac addr is %s at idx %d is removed", - ether_sprintf(peer_mld_mac), i); + epcs_debug("EPCS Stored authorize mac addr is "QDF_MAC_ADDR_FMT" at idx %d is removed", + QDF_MAC_ADDR_REF(peer_mld_mac), i); return QDF_STATUS_SUCCESS; }