Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213966
b: refs/heads/master
c: 4d7ede7
h: refs/heads/master
v: v3
  • Loading branch information
John W. Linville committed Aug 16, 2010
1 parent 435e5c2 commit 644c4b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 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: 9714d315d28aef77a097fe905b25cc273c3d72ad
refs/heads/master: 4d7ede7f5ad58c5316335b9018ddef58bd687def
8 changes: 0 additions & 8 deletions trunk/drivers/net/wireless/rt2x00/rt2x00config.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,6 @@ void rt2x00lib_config_antenna(struct rt2x00_dev *rt2x00dev,
* ANTENNA_SW_DIVERSITY state to the driver.
* If that happens, fallback to hardware defaults,
* or our own default.
* If diversity handling is active for a particular antenna,
* we shouldn't overwrite that antenna.
* The calls to rt2x00lib_config_antenna_check()
* might have caused that we restore back to the already
* active setting. If that has happened we can quit.
*/
if (!(ant->flags & ANTENNA_RX_DIVERSITY))
config.rx = rt2x00lib_config_antenna_check(config.rx, def->rx);
Expand All @@ -142,9 +137,6 @@ void rt2x00lib_config_antenna(struct rt2x00_dev *rt2x00dev,
else
config.tx = active->tx;

if (config.rx == active->rx && config.tx == active->tx)
return;

/*
* Antenna setup changes require the RX to be disabled,
* else the changes will be ignored by the device.
Expand Down

0 comments on commit 644c4b0

Please sign in to comment.