summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandeep Puligilla <spuligil@codeaurora.org>2016-12-21 12:40:17 -0800
committerqcabuildsw <qcabuildsw@localhost>2016-12-27 19:13:15 -0800
commitbb2e852da413d351ba84e336f6099173f548f36b (patch)
tree9247e98d6e8413a208ec5899b50031e907b04f9b
parent7d936a5f7903659b96242fd9a1db0ef2e5529c6c (diff)
qcacld-3.0: Fix compilation error
Fix compilation error reported while using the gcc 5.1 compiler. Change-Id: I4582884bcc96bc6c23d0290b5b569e50609e3a6b CRs-Fixed: 1046652
-rw-r--r--core/wma/src/wma_power.c2
1 files changed, 1 insertions, 1 deletions
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))