brcmfmac: fix bug in determining phy bands.
This patch fixes a bug in routine where phy bands are determined. Reviewed-by: Arend Van Spriel <arend@broadcom.com> Signed-off-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
95f59e8cbd
commit
3ba8137676
1 changed files with 1 additions and 1 deletions
|
@ -4539,7 +4539,7 @@ static s32 wl_update_wiphybands(struct brcmf_cfg80211_priv *cfg_priv)
|
|||
return err;
|
||||
}
|
||||
|
||||
phy = ((char *)&phy_list)[1];
|
||||
phy = ((char *)&phy_list)[0];
|
||||
WL_INFO("%c phy\n", phy);
|
||||
if (phy == 'n' || phy == 'a') {
|
||||
wiphy = cfg_to_wiphy(cfg_priv);
|
||||
|
|
Loading…
Reference in a new issue