Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255373
b: refs/heads/master
c: 65f31b5
h: refs/heads/master
i:
  255371: 8aa0193
v: v3
  • Loading branch information
Gertjan van Wingerde authored and John W. Linville committed Jun 1, 2011
1 parent 5d43b84 commit a8416ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 1bdcd095e39a789135f8638a2ff76f74e3071d46
refs/heads/master: 65f31b5e7029e55d4f7020a1d0b0658a50ea73cb
6 changes: 4 additions & 2 deletions trunk/drivers/net/wireless/rt2x00/rt2800lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1795,8 +1795,10 @@ static void rt2800_config_channel(struct rt2x00_dev *rt2x00dev,

/* Turn on unused PA or LNA when not using 1T or 1R */
if (rt2x00dev->default_ant.tx_chain_num == 2) {
rt2x00_set_field32(&tx_pin, TX_PIN_CFG_PA_PE_A1_EN, 1);
rt2x00_set_field32(&tx_pin, TX_PIN_CFG_PA_PE_G1_EN, 1);
rt2x00_set_field32(&tx_pin, TX_PIN_CFG_PA_PE_A1_EN,
rf->channel > 14);
rt2x00_set_field32(&tx_pin, TX_PIN_CFG_PA_PE_G1_EN,
rf->channel <= 14);
}

/* Turn on unused PA or LNA when not using 1T or 1R */
Expand Down

0 comments on commit a8416ab

Please sign in to comment.