mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacld-3.0: Fix restart adapter for QDF_MONITOR_MODE in SSR
During hdd_start_all_adapters for QDF_MONITOR_MODE,
wlan_hdd_set_mon_chan fails to change hw mode as recovery
is always in progress at this point. Since recovery is in
progress, the check for wlan_hdd_validate_context inside
wlan_hdd_change_hw_mode_for_given_chnl always returns -EINVAL.
Remove wlan_hdd_validate_context check from
wlan_hdd_change_hw_mode_for_given_chnl as caller
to this function has to validate the HDD context.
Change-Id: I818e0cfb6f9752d205c13b7a81889a3c1f023fc9
CRs-Fixed: 2529485
This commit is contained in:
parent
9f1d8c516e
commit
29e501ddea
1 changed files with 0 additions and 2 deletions
|
|
@ -22488,8 +22488,6 @@ int wlan_hdd_change_hw_mode_for_given_chnl(struct hdd_adapter *adapter,
|
|||
struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter);
|
||||
|
||||
hdd_enter();
|
||||
if (0 != wlan_hdd_validate_context(hdd_ctx))
|
||||
return -EINVAL;
|
||||
|
||||
status = policy_mgr_reset_connection_update(hdd_ctx->psoc);
|
||||
if (!QDF_IS_STATUS_SUCCESS(status))
|
||||
|
|
|
|||
Loading…
Reference in a new issue