diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-08-29 15:07:16 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:24:12 -0400 |
commit | 6c6aa3c004e702532cb0f549a96eb2f75636bd3b (patch) | |
tree | 8943035bef5cccb6496e5b1023e93ce76f469068 /drivers/net/wireless/rt2x00/rt2500pci.c | |
parent | 2af0a570b45ec315f364ea2c8a6d072cfcaa9d32 (diff) |
rt2x00: Add Signal type flag
Instead of using the PLCP flag to indicate if the
signal value is plcp or the bitrate we should add
a new flag to mark the bitrate type explicitely.
This is usefull when new types are added later for
rt2800.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c index 5cc706a45e59..2a96a011f2ad 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.c +++ b/drivers/net/wireless/rt2x00/rt2500pci.c | |||
@@ -1316,6 +1316,8 @@ static void rt2500pci_fill_rxdone(struct queue_entry *entry, | |||
1316 | 1316 | ||
1317 | if (rt2x00_get_field32(word0, RXD_W0_OFDM)) | 1317 | if (rt2x00_get_field32(word0, RXD_W0_OFDM)) |
1318 | rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP; | 1318 | rxdesc->dev_flags |= RXDONE_SIGNAL_PLCP; |
1319 | else | ||
1320 | rxdesc->dev_flags |= RXDONE_SIGNAL_BITRATE; | ||
1319 | if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) | 1321 | if (rt2x00_get_field32(word0, RXD_W0_MY_BSS)) |
1320 | rxdesc->dev_flags |= RXDONE_MY_BSS; | 1322 | rxdesc->dev_flags |= RXDONE_MY_BSS; |
1321 | } | 1323 | } |