mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-11 13:22:39 -05:00
qcacld-3.0: Fix channel width logs when updating phymode
In wlan_hdd_update_phymode() there are two separate calls to ucfg_mlme_get_vht_channel_width(). In both cases the return status is checked, and in case of error the following messages is logged: "Failed to set channel_width" Since ucfg_mlme_get_vht_channel_width() is a "getter" and not a "setter" change the log to: "Failed to get channel_width" Change-Id: Ifed249e78e4a64d76eae9310da42ee490756337e CRs-Fixed: 2338478
This commit is contained in:
parent
404eef6cba
commit
9516c11ecd
1 changed files with 2 additions and 2 deletions
|
|
@ -3703,7 +3703,7 @@ int wlan_hdd_update_phymode(struct hdd_adapter *adapter, int new_phymode)
|
|||
|
||||
status = ucfg_mlme_get_vht_channel_width(phddctx->psoc, &vhtchanwidth);
|
||||
if (!QDF_IS_STATUS_SUCCESS(status))
|
||||
hdd_err("Failed to set channel_width");
|
||||
hdd_err("Failed to get channel_width");
|
||||
|
||||
hdd_debug("ch_bond24=%d ch_bond5g=%d band_24=%d band_5g=%d VHT_ch_width=%u",
|
||||
ch_bond24, ch_bond5g, band_24, band_5g, vhtchanwidth);
|
||||
|
|
@ -3890,7 +3890,7 @@ int wlan_hdd_update_phymode(struct hdd_adapter *adapter, int new_phymode)
|
|||
status = ucfg_mlme_get_vht_channel_width(phddctx->psoc,
|
||||
&vhtchanwidth);
|
||||
if (!QDF_IS_STATUS_SUCCESS(status))
|
||||
hdd_err("Failed to set channel_width");
|
||||
hdd_err("Failed to get channel_width");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue