rtlwifi: rtl8821ae: Fix possible array overrun
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 21 Oct 2014 15:52:51 +0000 (10:52 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 23 Oct 2014 18:02:06 +0000 (14:02 -0400)
commitd514aefb8ce89562ef2d7dcddc530e5de6287c4b
treeb2b11dec9f034a69ed4451d624a81bb240daf8cf
parent868caae3fe2e35e2353d86af95e03eeaa9439d97
rtlwifi: rtl8821ae: Fix possible array overrun

The kbuild test robot reported a possible array overrun. The affected code
checks for overruns, but fails to take the steps necessary to fix them.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8821ae/phy.c