mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
qcacld-3.0: Invalid offchannel freq sent in tdls offchannel command
In WMI_TDLS_SET_OFFCHAN_MODE_CMDID the offchannel freq is set to invalid value due to uninitialized local tdls_channel_switch_params type variable resulting in fw reading incorrect non zero offchanel freq. Fix, to zero initialize the local tdls_channel_switch_params variable. Change-Id: Ia7d6daac098a179a22676620875a2b0d6488a8ad CRs-Fixed: 2739267
This commit is contained in:
parent
04e2db33c8
commit
bc917e55af
1 changed files with 1 additions and 1 deletions
|
|
@ -1012,7 +1012,7 @@ int tdls_set_tdls_offchannelmode(struct wlan_objmgr_vdev *vdev,
|
|||
int offchanmode)
|
||||
{
|
||||
struct tdls_peer *conn_peer = NULL;
|
||||
struct tdls_channel_switch_params chan_switch_params;
|
||||
struct tdls_channel_switch_params chan_switch_params = {0};
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
int ret_value = 0;
|
||||
struct tdls_vdev_priv_obj *tdls_vdev;
|
||||
|
|
|
|||
Loading…
Reference in a new issue