mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacmn: update BT coex config for all vdevs when setting BT coex mode
When setting BT coex mode, the config was not updated for all when there are multiple vdevs. Modify the code to update it for all vdevs. CRs-Fixed: 2667933 Change-Id: Ibad3adf44bef6842a12cbe7e46050b693ed474d6
This commit is contained in:
parent
acb2945a97
commit
2bfeac4376
1 changed files with 2 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ __wlan_cfg80211_coex_set_btc_chain_mode(struct wlan_objmgr_vdev *vdev,
|
|||
}
|
||||
|
||||
wlan_objmgr_for_each_psoc_vdev(psoc, vdev_id, vdev_tmp) {
|
||||
status = ucfg_coex_send_btc_chain_mode(vdev, mode);
|
||||
status = ucfg_coex_send_btc_chain_mode(vdev_tmp, mode);
|
||||
err = qdf_status_to_os_return(status);
|
||||
if (err) {
|
||||
coex_err("Failed to set btc chain mode to %d for vdev %d",
|
||||
|
|
@ -87,7 +87,7 @@ __wlan_cfg80211_coex_set_btc_chain_mode(struct wlan_objmgr_vdev *vdev,
|
|||
if (!do_restart)
|
||||
continue;
|
||||
|
||||
wlan_coex_config_updated(vdev, COEX_CONFIG_BTC_CHAIN_MODE);
|
||||
wlan_coex_config_updated(vdev_tmp, COEX_CONFIG_BTC_CHAIN_MODE);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue