Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215084
b: refs/heads/master
c: 7815978
h: refs/heads/master
v: v3
  • Loading branch information
Rafał Miłecki authored and John W. Linville committed Oct 6, 2010
1 parent 644175a commit 4c03e87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 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: 106cb09a145a5c6d8e206af41284c300b13c408c
refs/heads/master: 78159788e1d0909ffa6beb714dcca7f3aa4574a2
12 changes: 2 additions & 10 deletions trunk/drivers/net/wireless/b43/phy_n.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ static void b43_nphy_rf_control_override(struct b43_wldev *dev, u16 field,
u16 value, u8 core, bool off);
static void b43_nphy_rf_control_intc_override(struct b43_wldev *dev, u8 field,
u16 value, u8 core);
static int b43_nphy_op_switch_channel(struct b43_wldev *dev,
unsigned int new_channel);

static inline bool b43_empty_chanspec(struct b43_chanspec *chanspec)
{
Expand Down Expand Up @@ -224,7 +222,7 @@ static void b43_radio_init2055_post(struct b43_wldev *dev)
if (i)
b43err(dev->wl, "radio post init timeout\n");
b43_radio_mask(dev, B2055_CAL_LPOCTL, 0xFF7F);
b43_nphy_op_switch_channel(dev, dev->phy.channel);
b43_switch_channel(dev, dev->phy.channel);
b43_radio_write(dev, B2055_C1_RX_BB_LPF, 0x9);
b43_radio_write(dev, B2055_C2_RX_BB_LPF, 0x9);
b43_radio_write(dev, B2055_C1_RX_BB_MIDACHP, 0x83);
Expand Down Expand Up @@ -3352,12 +3350,6 @@ static void b43_nphy_chanspec_setup(struct b43_wldev *dev,

b43_chantab_phy_upload(dev, e);

tmp = chanspec.channel;
if (chanspec.b_freq == 1)
tmp |= 0x0100;
if (chanspec.b_width == 3)
tmp |= 0x0200;
b43_shm_write16(dev, B43_SHM_SHARED, 0xA0, tmp);

if (nphy->radio_chanspec.channel == 14) {
b43_nphy_classifier(dev, 2, 0);
Expand Down Expand Up @@ -3559,7 +3551,7 @@ static void b43_nphy_op_software_rfkill(struct b43_wldev *dev,
} else {
if (dev->phy.rev >= 3) {
b43_radio_init2056(dev);
b43_nphy_op_switch_channel(dev, dev->phy.channel);
b43_switch_channel(dev, dev->phy.channel);
} else {
b43_radio_init2055(dev);
}
Expand Down

0 comments on commit 4c03e87

Please sign in to comment.