diff options
author | Avinash Patil <patila@marvell.com> | 2014-09-17 19:31:26 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-26 23:06:50 +0200 |
commit | 8eda10eaa18709e951b5d5fbbf673543365a4455 (patch) | |
tree | 3caaf2ac5a64fc9916a8da3719c4423765dde14d /drivers/bcma | |
parent | ath9k: Cache BSS information (diff) | |
download | linux-8eda10eaa18709e951b5d5fbbf673543365a4455.tar.xz linux-8eda10eaa18709e951b5d5fbbf673543365a4455.zip |
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