summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorService qcabuildsw <qcabuildsw@localhost>2016-12-29 09:47:56 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-29 09:47:56 -0800
commit91a67ad00f0ab25b13d7a94f50387a2607f3cdb1 (patch)
tree28aaa32a4585f878472995626ec1fd747ef523bd
parentf4e36d1a0a86cd8ee6368a29bae497c6595ae909 (diff)
parentbb2e852da413d351ba84e336f6099173f548f36b (diff)
Merge "qcacld-3.0: Fix compilation error" into wlan-cld3.driver.lnx.1.1-dev
-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))