commit | 8eda10eaa18709e951b5d5fbbf673543365a4455 | [log] [tgz] |
---|---|---|
author | Avinash Patil <patila@marvell.com> | Wed Sep 17 23:01:26 2014 +0530 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Sep 26 17:06:50 2014 -0400 |
tree | 3caaf2ac5a64fc9916a8da3719c4423765dde14d | |
parent | cb35582ab4d742c1be48c4e51712a19fa202e978 [diff] |
mwifiex: ensure user_scan_in not NULL while setting scan channel gap Check for scan channel gap only when user_scan_in is not NULL. user_scan_in is NULL for internal scans and if we check scan channel gap at this place, it may result into crash. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Cathy Luo <cluo@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>