aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2500pci.c
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-01-06 17:41:28 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:09:27 -0500
commit7e56d38d5d0bda89228821902af297a46b5fdb80 (patch)
treefadf90d9fdb96f00c1780e3dceed824435e51abf /drivers/net/wireless/rt2x00/rt2500pci.c
parentdd3193e1c25ffbc66b684edb52273ae10695909d (diff)
rt2x00: Determine MY_BSS from descriptor
Use the MY_BSS descriptor field to determine if the received frame belongs to the same BSS as the interface. This can be used by rxdone to determine if the frame should be updated or not. 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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c
index 81a48e88f2a0..133967e81f6f 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.c
+++ b/drivers/net/wireless/rt2x00/rt2500pci.c
@@ -1264,6 +1264,7 @@ static void rt2500pci_fill_rxdone(struct data_entry *entry,
1264 entry->ring->rt2x00dev->rssi_offset; 1264 entry->ring->rt2x00dev->rssi_offset;
1265 desc->ofdm = rt2x00_get_field32(word0, RXD_W0_OFDM); 1265 desc->ofdm = rt2x00_get_field32(word0, RXD_W0_OFDM);
1266 desc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT); 1266 desc->size = rt2x00_get_field32(word0, RXD_W0_DATABYTE_COUNT);
1267 desc->my_bss = !!rt2x00_get_field32(word0, RXD_W0_MY_BSS);
1267} 1268}
1268 1269
1269/* 1270/*