From bb2e852da413d351ba84e336f6099173f548f36b Mon Sep 17 00:00:00 2001 From: Sandeep Puligilla Date: Wed, 21 Dec 2016 12:40:17 -0800 Subject: qcacld-3.0: Fix compilation error Fix compilation error reported while using the gcc 5.1 compiler. Change-Id: I4582884bcc96bc6c23d0290b5b569e50609e3a6b CRs-Fixed: 1046652 --- core/wma/src/wma_power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/wma/src/wma_power.c b/core/wma/src/wma_power.c index 6e258aa911a3..4068ddd2ce2e 100644 --- a/core/wma/src/wma_power.c +++ b/core/wma/src/wma_power.c @@ -981,7 +981,7 @@ static QDF_STATUS wma_set_sta_uapsd_auto_trig_cmd(wmi_unified_t wmi_handle, cmd.num_ac = num_ac; qdf_mem_copy((uint8_t *) cmd.peer_addr, (uint8_t *) peer_addr, - sizeof(peer_addr)); + sizeof(uint8_t) * IEEE80211_ADDR_LEN); ret = wmi_unified_set_sta_uapsd_auto_trig_cmd(wmi_handle, &cmd); if (QDF_IS_STATUS_ERROR(ret)) -- cgit v1.2.3