aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHante Meuleman <meuleman@broadcom.com>2012-09-19 16:21:13 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-09-24 15:02:06 -0400
commit3ba8137676eb3ca5db2df6cebc1125dd4d584292 (patch)
tree76c6a42b44a5124d89cbb32c1f61db7826f27382
parent95f59e8cbdf17aa5ba4db3fae3662c74640eed1b (diff)
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>
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
index 83e29ff78724..078e293c05ed 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
@@ -4539,7 +4539,7 @@ static s32 wl_update_wiphybands(struct brcmf_cfg80211_priv *cfg_priv)
4539 return err; 4539 return err;
4540 } 4540 }
4541 4541
4542 phy = ((char *)&phy_list)[1]; 4542 phy = ((char *)&phy_list)[0];
4543 WL_INFO("%c phy\n", phy); 4543 WL_INFO("%c phy\n", phy);
4544 if (phy == 'n' || phy == 'a') { 4544 if (phy == 'n' || phy == 'a') {
4545 wiphy = cfg_to_wiphy(cfg_priv); 4545 wiphy = cfg_to_wiphy(cfg_priv);