Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203331
b: refs/heads/master
c: e22557f
h: refs/heads/master
i:
  203329: 800612b
  203327: 323f60d
v: v3
  • Loading branch information
Ivo van Doorn authored and John W. Linville committed Jun 30, 2010
1 parent 545ce6e commit 15b031f
Show file tree
Hide file tree
Showing 2 changed files with 2 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: aa674631efabfb21f573137da9b84ff905ba66d8
refs/heads/master: e22557f2e3bdf0b56c2592c9aeb50f17945f71b0
4 changes: 1 addition & 3 deletions trunk/drivers/net/wireless/rt2x00/rt2800lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -836,14 +836,12 @@ void rt2800_config_ant(struct rt2x00_dev *rt2x00dev, struct antenna_setup *ant)
switch ((int)ant->tx) {
case 1:
rt2x00_set_field8(&r1, BBP1_TX_ANTENNA, 0);
if (rt2x00_is_pci(rt2x00dev) || rt2x00_is_soc(rt2x00dev))
rt2x00_set_field8(&r3, BBP3_RX_ANTENNA, 0);
break;
case 2:
rt2x00_set_field8(&r1, BBP1_TX_ANTENNA, 2);
break;
case 3:
/* Do nothing */
rt2x00_set_field8(&r1, BBP1_TX_ANTENNA, 0);
break;
}

Expand Down

0 comments on commit 15b031f

Please sign in to comment.