b43: fix QoS parameters initialization
authorLorenzo Nava <navalorenx@gmail.com>
Thu, 11 Sep 2008 13:06:24 +0000 (15:06 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2008 20:48:25 +0000 (16:48 -0400)
This fixes the initialization of QoS parameters.

Reported-by: Lorenzo Nava, Francesco Gringoli
Signed-off-by: Francesco Gringoli <francesco.gringoli@ing.unibs.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h

index 07d2825458abef9e06a129597299cb03553edac2..427b8203e3f96af2d8367d5ef1e8b2fa0386ab4a 100644 (file)
@@ -569,7 +569,7 @@ struct b43_key {
 #define B43_QOS_VOICE          B43_QOS_PARAMS(3)
 
 /* QOS parameter hardware data structure offsets. */
-#define B43_NR_QOSPARAMS       22
+#define B43_NR_QOSPARAMS       16
 enum {
        B43_QOSPARAM_TXOP = 0,
        B43_QOSPARAM_CWMIN,