]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: limit channel number not to overflow memory
authorStone Piao <piaoyun@marvell.com>
Sat, 30 Mar 2013 02:21:21 +0000 (19:21 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 1 Apr 2013 20:02:25 +0000 (16:02 -0400)
commit5b7568425f1cab028eb03d76c36d823ab9cacf86
tree72682f3108cfb2811f1438147bdcbbb44eaa840d
parent089d6265acbdf2fa024e42d21737dc441455a20f
mwifiex: limit channel number not to overflow memory

Limit the channel number in scan request, or the driver scan
config structure memory will be overflowed.

Cc: <stable@vger.kernel.org> # 3.5+
Signed-off-by: Stone Piao <piaoyun@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c