Skip to content

Commit

Permalink
b43: detect N PHY revision/radio
Browse files Browse the repository at this point in the history
Does nothing unless you enable the hidden N PHY config.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jan 29, 2009
1 parent cb33c41 commit bb519be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/b43/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3752,7 +3752,7 @@ static int b43_phy_versioning(struct b43_wldev *dev)
break;
#ifdef CONFIG_B43_NPHY
case B43_PHYTYPE_N:
if (phy_rev > 1)
if (phy_rev > 4)
unsupported = 1;
break;
#endif
Expand Down Expand Up @@ -3805,7 +3805,7 @@ static int b43_phy_versioning(struct b43_wldev *dev)
unsupported = 1;
break;
case B43_PHYTYPE_N:
if (radio_ver != 0x2055)
if (radio_ver != 0x2055 && radio_ver != 0x2056)
unsupported = 1;
break;
default:
Expand Down

0 comments on commit bb519be

Please sign in to comment.