From: Amitkumar Karwar Date: Sat, 4 Feb 2012 04:34:02 +0000 (-0800) Subject: mwifiex: add NULL checks in driver unload path X-Git-Tag: v3.3-rc4~2^2~10^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2da8cbf8a6b454296c9db7b57cac72d5a39e3aa7;p=pandora-kernel.git mwifiex: add NULL checks in driver unload path If driver load is failed, sometimes few pointers may remain uninitialized ex. priv->wdev, priv->netdev, adapter->sleep_cfm This will cause NULL pointer dereferance while unloading the driver. Signed-off-by: Amitkumar Karwar Signed-off-by: Kiran Divekar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed