[at76c503a-develop] [PATCH 2/4] Assorted minor comment changes

Pavel Roskin proski at gnu.org
Fri Apr 27 09:10:54 CEST 2007


Signed-off-by: Pavel Roskin <proski at gnu.org>
---

 at76_usb.c |    1 -
 at76_usb.h |    6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/at76_usb.c b/at76_usb.c
index 704a28e..d0e748d 100644
--- a/at76_usb.c
+++ b/at76_usb.c
@@ -5986,7 +5986,6 @@ static int at76_init_new_device(struct at76_priv *dev)
 	dev->rts_threshold = DEF_RTS_THRESHOLD;
 	dev->frag_threshold = DEF_FRAG_THRESHOLD;
 	dev->short_retry_limit = DEF_SHORT_RETRY_LIMIT;
-	/* dev->long_retr_limit = DEF_LONG_RETRY_LIMIT; */
 	dev->txrate = TX_RATE_AUTO;
 	dev->preamble_type = preamble_type;
 	dev->beacon_period = 100;
diff --git a/at76_usb.h b/at76_usb.h
index 996649e..3d52a79 100644
--- a/at76_usb.h
+++ b/at76_usb.h
@@ -548,6 +548,7 @@ struct at76_priv {
 	u32 board_type;		/* BOARDTYPE_* in at76_usb_ids.h */
 
 	struct reg_domain const *domain;	/* the description of the regulatory domain */
+	int international_roaming;
 
 	/* iwspy support */
 	spinlock_t spy_spinlock;
@@ -582,8 +583,7 @@ struct at76_priv {
 	char obuf[2 * 256 + 1];	/* global debug output buffer to reduce stack usage */
 	struct set_mib_buffer mib_buf;	/* global buffer for set_mib calls */
 
-	/* new whiz-bang feature flags */
-	int international_roaming;
+	/* beacon counting */
 	int monitor_scan_min_time;
 	int monitor_scan_max_time;
 
@@ -618,7 +618,7 @@ struct at76_rx_radiotap {
   (AT76_TX_HDRLEN + sizeof(struct ieee80211_assoc_request) + \
    1+1+IW_ESSID_MAX_SIZE + 1+1+4)
 
-/* the maximum size of an AssocReq packet */
+/* the maximum size of a ReAssocReq packet */
 #define REASSOCREQ_MAX_SIZE \
   (AT76_TX_HDRLEN + sizeof(struct ieee80211_reassoc_request) + \
    1+1+IW_ESSID_MAX_SIZE + 1+1+4)





More information about the at76c503a-develop mailing list