From: Avinash Patil Date: Wed, 17 Sep 2014 17:31:26 +0000 (+0530) Subject: mwifiex: ensure user_scan_in not NULL while setting scan channel gap X-Git-Tag: fixes-against-v3.18-rc2~144^2~39^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8eda10eaa18709e951b5d5fbbf673543365a4455;p=pandora-kernel.git 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 Signed-off-by: Avinash Patil Signed-off-by: Cathy Luo Signed-off-by: John W. Linville --- Reading git-diff-tree failed