summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-01 12:27:20 -0400
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-01 12:37:48 -0400
commit429a5908fe3bc4d9ca2512b94cd10b69d50bf91f (patch)
treec4ddad48e07bd9fa40f63a421e08cadd73c8fd13 /drivers/staging/bcm
parent9dd47ee7dd535649a2c32d509631c7a3d793f2e1 (diff)
downloadblackbird-op-linux-429a5908fe3bc4d9ca2512b94cd10b69d50bf91f.tar.gz
blackbird-op-linux-429a5908fe3bc4d9ca2512b94cd10b69d50bf91f.zip
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 <shemminger@vyatta.com>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r--drivers/staging/bcm/Macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/bcm/Macros.h b/drivers/staging/bcm/Macros.h
index f2fd60286a4c..feb351578c8b 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
OpenPOWER on IntegriCloud