diff options
author | Avinash Patil <patila@marvell.com> | 2014-09-17 23:01:26 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-26 17:06:50 -0400 |
commit | 8eda10eaa18709e951b5d5fbbf673543365a4455 (patch) | |
tree | 3caaf2ac5a64fc9916a8da3719c4423765dde14d /drivers/bcma | |
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>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions