qcacld-3.0: Avoid calling wlan_hdd_set_mon_chan for STA mode
As part of Ie9ffc701d93ed1c050375dd56151b7a0da69cdce the STA mode channel change was added in disconnected state for spectral scan test at CV2X platform. Now with iwpriv wlan0 setMonChan on STA mode, a monitor mode pe_session is created in PE/LIM which take ref count with WLAN_LEGACY_MAC_ID. As the interface is STA type this session is not deleted when vdev is deleted. This lead to vdev ref leak. This code is broken and is no longer in use and cause vdev ref leak when executed. Thus revert Ie9ffc701d93ed1c050375dd56151b7a0da69cdce. Also move the lim session create to hdd_set_mon_rx_cb during vdev create, as it is deleted during vdev delete. Change-Id: Ib60aa2bd2746a8cd17f20efa7506c18784a42630 CRs-Fixed: 2557160
This commit is contained in:
@@ -2036,16 +2036,6 @@ QDF_STATUS wlan_mlme_ibss_power_save_setup(struct wlan_objmgr_psoc *psoc,
|
||||
QDF_STATUS
|
||||
wlan_mlme_set_11d_enabled(struct wlan_objmgr_psoc *psoc, bool value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_is_change_channel_bandwidth_enabled() - get the
|
||||
* enable_change_channel_bandwidth flag
|
||||
* @psoc: psoc context
|
||||
*
|
||||
* Return: true if enabled
|
||||
*/
|
||||
bool
|
||||
wlan_mlme_is_change_channel_bandwidth_enabled(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_sta_miracast_mcc_rest_time() - Get STA/MIRACAST MCC rest time
|
||||
*
|
||||
|
Reference in New Issue
Block a user