From: Eliad Peller Date: Wed, 25 Jul 2012 11:22:21 +0000 (+0300) Subject: wlcore: consider single fw case X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~30^2~38^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b1a0a7771a62c3af4dce83e7cfd199367bd84ff;p=pandora-kernel.git wlcore: consider single fw case When a single fw is being used for both single-role and multi-role cases (e.g. 18xx), wl->mr_fw_name is NULL, which results in NULL dereference while trying to load the multi-role fw. In this case, always use the single-role fw, and avoid redundant fw switch by checking for this case in wl12xx_need_fw_change() as well. Signed-off-by: Eliad Peller Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed