Просмотр исходного кода

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
Arif Hussain 8 лет назад
Родитель
Сommit
f73e843bd4
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      core/wma/src/wma_scan_roam.c

+ 1 - 0
core/wma/src/wma_scan_roam.c

@@ -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,