qcacmn: Fix WMI for peer channel re-intersection
Fix WMI message for peer channel width switching to account for reserve space allocated in the message between num_peer and chan_width_peer_list. Change-Id: I5f0cec3c263cb68f44f0fcaa2aa26d120e807b1a CRs-Fixed: 2352372
This commit is contained in:
@@ -667,7 +667,7 @@ send_peer_chan_width_switch_cmd_non_tlv(wmi_unified_t wmi_handle,
|
|||||||
max_peers_per_command : pending_peers;
|
max_peers_per_command : pending_peers;
|
||||||
|
|
||||||
cmd_peer_list = (struct chan_width_peer_list *)
|
cmd_peer_list = (struct chan_width_peer_list *)
|
||||||
(cmd + sizeof(*cmd));
|
&(cmd->chan_width_peer_info[0]);
|
||||||
|
|
||||||
for (ix = 0; ix < cmd->num_peers; ix++) {
|
for (ix = 0; ix < cmd->num_peers; ix++) {
|
||||||
WMI_CHAR_ARRAY_TO_MAC_ADDR(param_peer_list[ix].mac_addr,
|
WMI_CHAR_ARRAY_TO_MAC_ADDR(param_peer_list[ix].mac_addr,
|
||||||
|
Reference in New Issue
Block a user