qcacld-3.0: Replace tSirMacAddr with cdf_mac_addr in sSirRateUpdateInd
Replace tSirMacAddr with cdf_mac_addr in sSirRateUpdateInd.
Change-Id: I28dc76e07721f6472bbc1ec5c107cd12b2123a8f
CRs-Fixed: 898864
diff --git a/core/hdd/src/wlan_hdd_ioctl.c b/core/hdd/src/wlan_hdd_ioctl.c
index 39192ef..d2218c5 100644
--- a/core/hdd/src/wlan_hdd_ioctl.c
+++ b/core/hdd/src/wlan_hdd_ioctl.c
@@ -2444,11 +2444,10 @@
rateUpdate.mcastDataRate24GHzTxFlag = 1;
rateUpdate.mcastDataRate5GHz = targetRate;
rateUpdate.bcastDataRate = -1;
- memcpy(rateUpdate.bssid, pAdapter->macAddressCurrent.bytes,
- sizeof(rateUpdate.bssid));
+ cdf_copy_macaddr(&rateUpdate.bssid, &pAdapter->macAddressCurrent);
hddLog(LOG1,
FL("MC Target rate %d, mac = %pM, dev_mode %s(%d)"),
- rateUpdate.mcastDataRate24GHz, rateUpdate.bssid,
+ rateUpdate.mcastDataRate24GHz, rateUpdate.bssid.bytes,
hdd_device_mode_to_string(pAdapter->device_mode),
pAdapter->device_mode);
status = sme_send_rate_update_ind(pHddCtx->hHal, &rateUpdate);