diff options
| -rw-r--r-- | core/wma/src/wma_power.c | 2 |
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)) |
