qcacld-3.0: Send WMA_SWITCH_CHANNEL_RSP in wma_set_channel for monitor mode

In wma_set_channel function for monitor mode WMI_PDEV_SET_CHANNEL_CMDID
is used to set channel.

In lim, while sending WMA_CHNL_SWITCH_REQ, defer flag was set to wait for
WMA_SWITCH_CHANNEL_RSP from firmware, incase if we don’t use
WMA_CHNL_SWITCH_REQ in monitor mode, send WMA_SWITCH_CHANNEL_RSP
from wma_set_channel itself to reset defer flag in lim.

Change-Id: Ica96be08d8fb2af5ca5dc07182b690ea5c2bdbae
CRs-Fixed: 2010363
This commit is contained in:
Arif Hussain 2017-02-22 11:45:50 -08:00 • committed by snandini
commit f73e843bd4

View file

@ -2990,6 +2990,7 @@ void wma_set_channel(tp_wma_handle wma, tpSwitchChannelParams params)
/* This is temporary, should be removed */
ol_htt_mon_note_chan(pdev, req.chan);
goto send_resp;
} else {
msg = wma_fill_vdev_req(wma, req.vdev_id, WMA_CHNL_SWITCH_REQ,