OSDN Git Service

mwifiex: correct histogram data with appropriate index
authorXinming Hu <huxm@marvell.com>
Fri, 18 May 2018 07:38:54 +0000 (15:38 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 23 May 2018 08:00:09 +0000 (11:00 +0300)
commit30bfce0b63fa68c14ae1613eb9d259fa18644074
treef36099a79800026e28341c3cba500eec71268268
parentcbec83d40cc79137b008d0dd44846c5f2146a83d
mwifiex: correct histogram data with appropriate index

Correct snr/nr/rssi data index to avoid possible buffer underflow.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/util.c