Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90176
b: refs/heads/master
c: 8ed0985
h: refs/heads/master
v: v3
  • Loading branch information
Ivo van Doorn authored and John W. Linville committed Mar 13, 2008
1 parent d4d0d48 commit ef664b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 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: f0e62e46c3cace185eed10ebf53ef060ba6d7bb1
refs/heads/master: 8ed09854073ae0a19556d4d93cf79cf368c23673
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/rt2x00/rt2400pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1072,9 +1072,10 @@ static void rt2400pci_fill_rxdone(struct queue_entry *entry,

/*
* Obtain the status about this packet.
* The signal is the PLCP value.
* The signal is the PLCP value, and needs to be stripped
* of the preamble bit (0x08).
*/
rxdesc->signal = rt2x00_get_field32(word2, RXD_W2_SIGNAL);
rxdesc->signal = rt2x00_get_field32(word2, RXD_W2_SIGNAL) & ~0x08;
rxdesc->signal_plcp = 1;
rxdesc->rssi = rt2x00_get_field32(word2, RXD_W3_RSSI) -
entry->queue->rt2x00dev->rssi_offset;
Expand Down
7 changes: 0 additions & 7 deletions trunk/drivers/net/wireless/rt2x00/rt2x00dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,13 +573,6 @@ void rt2x00lib_rxdone(struct queue_entry *entry,
int idx = -1;
u16 fc;

/*
* If the signal is the plcp value,
* we need to strip the preamble bit (0x08).
*/
if (rxdesc->signal_plcp)
rxdesc->signal &= ~0x08;

/*
* Update RX statistics.
*/
Expand Down

0 comments on commit ef664b1

Please sign in to comment.