wlan: Fix IBSS station lookup log in hdd_wmm_select_queue()
When the device is in IBSS mode, hdd_wmm_select_queue() must perform a
station lookup on the destination address. When the lookup fails, a
message is logged for debugging purposes. Currently the parameters
are passed in an order that does not conform to the format string, and
a bad pointer is used for the station MAC address. Update the logging
call to pass the correct parameters in the correct order.
Change-Id: I182b540aeaf4ec26728ba6062895f5b4359be374
CRs-fixed: 477796
diff --git a/CORE/HDD/src/wlan_hdd_wmm.c b/CORE/HDD/src/wlan_hdd_wmm.c
index 6d21411..b9faa76 100644
--- a/CORE/HDD/src/wlan_hdd_wmm.c
+++ b/CORE/HDD/src/wlan_hdd_wmm.c
@@ -1823,8 +1823,9 @@
pDestMacAddress, pSTAId))
{
VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- "%s: Failed to find right station pDestMacAddress: "
- MAC_ADDRESS_STR , MAC_ADDR_ARRAY(pDestMacAddress),__func__);
+ "%s: Failed to find right station pDestMacAddress: "
+ MAC_ADDRESS_STR , __func__,
+ MAC_ADDR_ARRAY(pDestMacAddress->bytes));
*pSTAId = HDD_WLAN_INVALID_STA_ID;
goto done;
}