diff options
author | John W. Linville <linville@tuxdriver.com> | 2008-01-21 13:41:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:08:45 -0500 |
commit | c0ddd04d55e0a4d1506b6b8a4eb9e2b62f3aa41d (patch) | |
tree | c2ef87cc24fd7063c70d1979e127774e49e3ee56 /drivers/net/wireless/b43legacy | |
parent | 1e637c74b0f84eaca02b914c0b8c6f67276e9697 (diff) |
wireless: cleanup some merge errors
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43legacy')
-rw-r--r-- | drivers/net/wireless/b43legacy/xmit.c | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43legacy/xmit.c b/drivers/net/wireless/b43legacy/xmit.c index c24399dc0ede..fa095d43237f 100644 --- a/drivers/net/wireless/b43legacy/xmit.c +++ b/drivers/net/wireless/b43legacy/xmit.c | |||
@@ -532,8 +532,24 @@ void b43legacy_rx(struct b43legacy_wldev *dev, | |||
532 | else | 532 | else |
533 | status.rate = b43legacy_plcp_get_bitrate_cck(plcp); | 533 | status.rate = b43legacy_plcp_get_bitrate_cck(plcp); |
534 | status.antenna = !!(phystat0 & B43legacy_RX_PHYST0_ANT); | 534 | status.antenna = !!(phystat0 & B43legacy_RX_PHYST0_ANT); |
535 | status.mactime = mactime; | 535 | |
536 | status.flag |= RX_FLAG_TSFT; | 536 | /* |
537 | * If monitors are present get full 64-bit timestamp. This | ||
538 | * code assumes we get to process the packet within 16 bits | ||
539 | * of timestamp, i.e. about 65 milliseconds after the PHY | ||
540 | * received the first symbol. | ||
541 | */ | ||
542 | if (dev->wl->radiotap_enabled) { | ||
543 | u16 low_mactime_now; | ||
544 | |||
545 | b43legacy_tsf_read(dev, &status.mactime); | ||
546 | low_mactime_now = status.mactime; | ||
547 | status.mactime = status.mactime & ~0xFFFFULL; | ||
548 | status.mactime += mactime; | ||
549 | if (low_mactime_now <= mactime) | ||
550 | status.mactime -= 0x10000; | ||
551 | status.flag |= RX_FLAG_TSFT; | ||
552 | } | ||
537 | 553 | ||
538 | chanid = (chanstat & B43legacy_RX_CHAN_ID) >> | 554 | chanid = (chanstat & B43legacy_RX_CHAN_ID) >> |
539 | B43legacy_RX_CHAN_ID_SHIFT; | 555 | B43legacy_RX_CHAN_ID_SHIFT; |