From: Stephen Hemminger Date: Mon, 1 Nov 2010 16:27:20 +0000 (-0400) Subject: beceem: off by one on queue index X-Git-Tag: v2.6.38-rc1~423^2~455^2^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=429a5908fe3bc4d9ca2512b94cd10b69d50bf91f;p=platform%2Fkernel%2Flinux-3.10.git beceem: off by one on queue index The driver allocates 18 queues (0..16) are for traffic, and 17 is a bit bucket. Signed-off-by: Stephen Hemminger --- diff --git a/drivers/staging/bcm/Macros.h b/drivers/staging/bcm/Macros.h index f2fd602..feb3515 100644 --- a/drivers/staging/bcm/Macros.h +++ b/drivers/staging/bcm/Macros.h @@ -261,7 +261,7 @@ typedef enum _E_PHS_DSC_ACTION #define FIRMWARE_BEGIN_ADDR 0xBFC00000 -#define INVALID_QUEUE_INDEX (NO_OF_QUEUES+1) +#define INVALID_QUEUE_INDEX NO_OF_QUEUES #define INVALID_PID (pid_t)-1 #define DDR_80_MHZ 0