ath9k/htc_drv_main: off by one error
authorDan Carpenter <error27@gmail.com>
Sat, 8 May 2010 16:24:02 +0000 (18:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 May 2010 18:56:47 +0000 (14:56 -0400)
commit0730d114194364d078dbd0cfce708e8c67dccdfb
tree5f822d3e6970f3fb999ccd10dccf61d46354e974
parent277a64d17ee819161242ce3059a9c2d0f8dfd29c
ath9k/htc_drv_main: off by one error

I changed "> ATH9K_HTC_MAX_TID" to ">= ATH9K_HTC_MAX_TID" to avoid a
potential overflow.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_main.c