From: Emmanuel Grumbach Date: Thu, 27 Mar 2014 08:06:29 +0000 (+0200) Subject: iwlwifi: mvm: replace BUG_ON by WARN_ON in scan.c X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~54^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=748fa67cb76608457d03f3932874b9baddb4d8bf;p=pandora-kernel.git iwlwifi: mvm: replace BUG_ON by WARN_ON in scan.c While the scan_cmd should really be allocated in init (and we do fail init in case the allocation failed), it doesn't mean we should lock up the machine if something really bad happened. Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed