From 8eda10eaa18709e951b5d5fbbf673543365a4455 Mon Sep 17 00:00:00 2001 From: Avinash Patil Date: Wed, 17 Sep 2014 23:01:26 +0530 Subject: [PATCH] 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-format-patch failed