openwrtv4/package/mac80211/patches/307-rt2x00-Clean-header-rt2800usb.patch
2009-02-26 18:03:20 +00:00

30 lines
1.1 KiB
Diff

From 402663d0e41c5039b2f4afe6f0c4dbb9e2d1e10d Mon Sep 17 00:00:00 2001
From: Ivo van Doorn <IvDoorn@gmail.com>
Date: Thu, 5 Feb 2009 22:44:30 +0100
Subject: [PATCH] rt2x00: Clean header (rt2800usb)
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
---
drivers/net/wireless/rt2x00/rt2800usb.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/net/wireless/rt2x00/rt2800usb.h
+++ b/drivers/net/wireless/rt2x00/rt2800usb.h
@@ -1213,7 +1213,7 @@
* TX_STA_FIFO: TX Result for specific PID status fifo register
*/
#define TX_STA_FIFO 0x1718
-#define TX_STA_FIFO_B_VALID FIELD32(0x00000001)
+#define TX_STA_FIFO_VALID FIELD32(0x00000001)
#define TX_STA_FIFO_PID_TYPE FIELD32(0x0000001e)
#define TX_STA_FIFO_TX_SUCCESS FIELD32(0x00000020)
#define TX_STA_FIFO_TX_AGGRE FIELD32(0x00000040)
@@ -1436,7 +1436,7 @@ struct mac_iveiv_entry {
/*
* HW_BEACON_BASE
* In order to support maximum 8 MBSS and its maximum length
- * is 512 bytes for each beacon
+ * is 512 bytes for each beacon
* Three section discontinue memory segments will be used.
* 1. The original region for BCN 0~3
* 2. Extract memory from FCE table for BCN 4~5