From: Amitkumar Karwar Date: Fri, 15 Nov 2013 03:10:39 +0000 (-0800) Subject: mwifiex: fix NULL pointer dereference in mwifiex_fw_dpc X-Git-Tag: v3.13-rc1~7^2~6^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1af2943da89f180274c846d593049e464026baf;p=pandora-kernel.git mwifiex: fix NULL pointer dereference in mwifiex_fw_dpc We don't need to free/unregister wiphy when mwifiex_register_cfg80211() fails. The routine internally takes care of it. This redundant code can cause NULL pointer dereference, for adapter->wiphy. Reported-by: Ujjal Roy Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed