Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194145
b: refs/heads/master
c: ffd2d9b
h: refs/heads/master
i:
  194143: 83b8e3b
v: v3
  • Loading branch information
Rafał Miłecki authored and John W. Linville committed Mar 31, 2010
1 parent 38b07d0 commit be38bc3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b15b3039919c7357c2851ec66843ff92f8ff86aa
refs/heads/master: ffd2d9bdac1a0a5d3184e085ea1bd3060b4166fe
8 changes: 4 additions & 4 deletions trunk/drivers/net/wireless/b43/phy_n.c
Original file line number Diff line number Diff line change
Expand Up @@ -3343,6 +3343,10 @@ static int b43_nphy_set_chanspec(struct b43_wldev *dev,

if (dev->phy.rev >= 3) {
/* TODO */
} else {
tabent = b43_nphy_get_chantabent(dev, channel);
if (!tabent)
return -ESRCH;
}

nphy->radio_chanspec = chanspec;
Expand All @@ -3366,10 +3370,6 @@ static int b43_nphy_set_chanspec(struct b43_wldev *dev,
/* TODO: PHY Radio2056 Setup (chan_info_ptr[i]) */
/* TODO: N PHY Chanspec Setup (chan_info_ptr[i]) */
} else {
tabent = b43_nphy_get_chantabent(dev, channel);
if (!tabent)
return -ESRCH;

tmp = (chanspec.b_freq == 1) ? 0x0020 : 0x0050;
b43_radio_maskset(dev, B2055_MASTER1, 0xFF8F, tmp);
b43_radio_2055_setup(dev, tabent);
Expand Down

0 comments on commit be38bc3

Please sign in to comment.