ath9k: Fix read buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 7 Aug 2009 21:50:00 +0000 (23:50 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Aug 2009 18:40:46 +0000 (14:40 -0400)
commit73f57f8398ed6cba82f9856e20d94d71e6edb3e2
tree132627d29a3a264b7ea774f5f17bdad87e01a962
parent5bf6fcc2bbfb90d997f88c969f1ceee35d064a24
ath9k: Fix read buffer overflow

Prevent a read of powInfo[-1] in the first iteration.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/eeprom.c