iwlwifi: fix aggregation limit
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 1 Jul 2009 12:57:59 +0000 (14:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:02:27 +0000 (15:02 -0400)
According to the documentation, the limit is 0x3f == 63, not 64.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-commands.h

index 6e9b8a8356ea23605668355c6692daa5bbee8fb1..ebb2fbce5365bdd02041046e9be1c5d36fa71937 100644 (file)
@@ -1924,7 +1924,7 @@ struct iwl_link_qual_general_params {
 #define LINK_QUAL_AGG_DISABLE_START_MIN        (0)
 
 #define LINK_QUAL_AGG_FRAME_LIMIT_DEF  (31)
-#define LINK_QUAL_AGG_FRAME_LIMIT_MAX  (64)
+#define LINK_QUAL_AGG_FRAME_LIMIT_MAX  (63)
 #define LINK_QUAL_AGG_FRAME_LIMIT_MIN  (0)
 
 /**