]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8188ee: Fix loop that ends early
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 9 Apr 2013 00:53:21 +0000 (19:53 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Apr 2013 18:10:34 +0000 (14:10 -0400)
commit4a8622c9f3468db3ed9e5f410c6f358910e9c84b
tree3875fa668c67186b0ad1c5d4049ccfa407f96cc2
parent1aaff3f6d36781405b509dc82548637bcbdbecbe
rtlwifi: rtl8188ee: Fix loop that ends early

In routine _rtl8188e_read_power_value_fromprom(), there are loops initializing
index_cck_base and index_bw40_base from the PROM. As the result of a typo, the
second loop is ended one element too soon.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8188ee/hw.c