wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device
authorSamasth Norway Ananda <samasth.norway.ananda@oracle.com>
Thu, 9 May 2024 23:10:37 +0000 (16:10 -0700)
committerKalle Valo <kvalo@kernel.org>
Tue, 14 May 2024 13:31:37 +0000 (16:31 +0300)
commitc636fa85feb450ca414a10010ed05361a73c93a6
treedc65aa7b2e5180dd49f5c242a957b43c92cd5525
parent02b682d54598f61cbb7dbb14d98ec1801112b878
wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device

The band_idx variable in the function wlc_lcnphy_tx_iqlo_cal() will
never be set to 1 as BCM4313 is the only device for which the LCN PHY
code is used. This is a 2G-only device.

Fixes: 5b435de0d786 ("net: wireless: add brcm80211 drivers")
Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240509231037.2014109-1-samasth.norway.ananda@oracle.com
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c