mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Remove check for DBS HW mode
Currently the driver checks whether hw is already in DBS in the function policy_mgr_check_and_set_hw_mode_for_channel_switch and it does not set hw mode if it is already in DBS mode. It can happen that SMM is already requested and is present in serialization and it would change the HW mode from DBS->SMM and if driver starts any vdev on 2.4ghz in HST/HSP which requires the DBS mode for 2.4ghz , the FW would send a vdev start failure. Fix is to remove the check of current hw mode and let DBS be posted to serialization. If hw mode is already in DBS it would return from serialization with E_ALREADY but would ensure that HW mode is always in DBS for a 2.4ghz connection. Change-Id: Ica660058175cb1edc2931dd2d28ee6cdd9bab2f4 CRs-Fixed: 2823238
This commit is contained in:
parent
38ac0f74cb
commit
afc30ea9ab
1 changed files with 0 additions and 5 deletions
|
|
@ -2752,11 +2752,6 @@ QDF_STATUS policy_mgr_check_and_set_hw_mode_for_channel_switch(
|
|||
*/
|
||||
policy_mgr_stop_opportunistic_timer(psoc);
|
||||
|
||||
if (policy_mgr_is_current_hwmode_dbs(psoc)) {
|
||||
policy_mgr_debug("Already in DBS mode");
|
||||
return QDF_STATUS_E_ALREADY;
|
||||
}
|
||||
|
||||
if (wlan_reg_freq_to_band(ch_freq) != REG_BAND_2G)
|
||||
return QDF_STATUS_E_NOSUPPORT;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue