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)
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>

No differences found