aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2007-06-04 21:03:57 -0400
committerGuido Guenther <agx@sigxcpu.org>2007-06-05 08:59:33 +0200
commit85f3acf80050a2dedfbd0867e0d6cd3132ff684e (patch)
tree5b1ec3faba91fc3d963b1f08647abf7ca7d5a36c
parent9937e1e0c4b4af6537621dca7f242dda2a5ae605 (diff)
[PATCH] Don't document endianess in comments, it's documented by the type
While at that, improve the affected comments. Signed-off-by: Pavel Roskin <proski@gnu.org>
-rw-r--r--at76_usb.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/at76_usb.h b/at76_usb.h
index 428a562..7b7db30 100644
--- a/at76_usb.h
+++ b/at76_usb.h
@@ -418,10 +418,8 @@ struct bss_info {
to make it printable */
u8 ssid_len; /* length of ssid above */
u8 channel;
- u16 capa; /* the capabilities of the BSS (in original endianess -
- we only check IEEE802_11 bits in it) */
- u16 beacon_interval; /* the beacon interval in units of TU (1.024 ms)
- (in CPU endianess - we must calc. values from it) */
+ u16 capa; /* BSS capabilities */
+ u16 beacon_interval; /* beacon interval in Kus (1024 microseconds) */
u8 rates[BSS_LIST_MAX_RATE_LEN]; /* supported rates (list of bytes:
(basic_rate ? 0x80 : 0) + rate/(500 Kbit/s); e.g.
x82,x84,x8b,x96 for basic rates 1,2,5.5,11 MBit/s) */