Skip to content

Commit

Permalink
beceem: off by one on queue index
Browse files Browse the repository at this point in the history
The driver allocates 18 queues (0..16) are for traffic, and 17
is a bit bucket.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
  • Loading branch information
Stephen Hemminger committed Nov 1, 2010
1 parent 9dd47ee commit 429a590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/bcm/Macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 429a590

Please sign in to comment.