Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171751
b: refs/heads/master
c: fa6f632
h: refs/heads/master
i:
  171749: b3824a9
  171747: f68d803
  171743: 9e484f8
v: v3
  • Loading branch information
Gertjan van Wingerde authored and John W. Linville committed Nov 16, 2009
1 parent ae00beb commit 2c91e10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: 235faf9b41b7b090be15b483bf900c0b9a8da4ea
refs/heads/master: fa6f632fba300f92d21962ef6e58411345465241
10 changes: 7 additions & 3 deletions trunk/drivers/net/wireless/rt2x00/rt2800lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,10 +806,14 @@ static void rt2800_config_channel(struct rt2x00_dev *rt2x00dev,
unsigned int tx_pin;
u8 bbp;

if (rt2x00_rev(&rt2x00dev->chip) != RT3070_VERSION)
rt2800_config_channel_rt2x(rt2x00dev, conf, rf, info);
else
if (rt2x00_rt(&rt2x00dev->chip, RT3070) &&
(rt2x00_rf(&rt2x00dev->chip, RF2020) ||
rt2x00_rf(&rt2x00dev->chip, RF3020) ||
rt2x00_rf(&rt2x00dev->chip, RF3021) ||
rt2x00_rf(&rt2x00dev->chip, RF3022)))
rt2800_config_channel_rt3x(rt2x00dev, conf, rf, info);
else
rt2800_config_channel_rt2x(rt2x00dev, conf, rf, info);

/*
* Change BBP settings
Expand Down

0 comments on commit 2c91e10

Please sign in to comment.