瀏覽代碼

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>
Stephen Hemminger 14 年之前
父節點
當前提交
429a5908fe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/staging/bcm/Macros.h

+ 1 - 1
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