mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Don't set operating channel before ROC gets finished
Vendor cmd(QCA_NL80211_VENDOR_SUBCMD_SET_PROBABLE_OPER_CHANNEL) in supplicant has been designed to notify the driver about operating channel right after go negotiation is completed, so that driver can get going with HW mode change little ahead of time before the change iface/add iface req comes down from supplicant for the CLI role. But it looks like the cmd is coming even before RoC cancellation is done for the completed negotiation. So, this delays the HW mode change req in FW as FW thinks the scan (on going RoC) is not complete yet. As a result it waits for the RoC to finish before entertaining the HW mode change req. To fix this situation, don't set probable operating channel till RoC gets finished. CRs-Fixed: 1025390 Change-Id: I8b3df2259f71cf51b8ffc8b9a50edad7fea81d13
This commit is contained in:
parent
101f954b16
commit
09e5503fe7
1 changed files with 3 additions and 0 deletions
|
|
@ -4484,6 +4484,9 @@ static int __wlan_hdd_cfg80211_set_probable_oper_channel(struct wiphy *wiphy,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (0 != wlan_hdd_check_remain_on_channel(adapter))
|
||||
hdd_warn("Remain On Channel Pending");
|
||||
|
||||
if (hdd_ctx->config->policy_manager_enabled) {
|
||||
ret = qdf_reset_connection_update();
|
||||
if (!QDF_IS_STATUS_SUCCESS(ret))
|
||||
|
|
|
|||
Loading…
Reference in a new issue