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:
@@ -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) {
|
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);
|
err = qdf_status_to_os_return(status);
|
||||||
if (err) {
|
if (err) {
|
||||||
coex_err("Failed to set btc chain mode to %d for vdev %d",
|
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)
|
if (!do_restart)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
wlan_coex_config_updated(vdev, COEX_CONFIG_BTC_CHAIN_MODE);
|
wlan_coex_config_updated(vdev_tmp, COEX_CONFIG_BTC_CHAIN_MODE);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user