rtlwifi: potential forever loop in rtl92de_hw_init()
authorDan Carpenter <error27@gmail.com>
Wed, 29 Jun 2011 06:31:49 +0000 (09:31 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Jun 2011 19:11:07 +0000 (15:11 -0400)
commit9a4ba833a2d0016cf836827e136f0c219834bd41
tree13d1e06060519b38b2813d2e9644f84930c83b0a
parentab049fbf5ea87fc92441fc5211c315d04a312cca
rtlwifi: potential forever loop in rtl92de_hw_init()

"i" should be an int here because we are trying to use it to count
to 10000.  The original code looks like it could hang in a forever
loop.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192de/hw.c