From: Zhu Yi Date: Thu, 9 Jul 2009 09:24:15 +0000 (+0800) Subject: iwmc3200wifi: fix NULL pointer dereference in iwm_if_free X-Git-Tag: v2.6.31-rc5~83^2~18^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=513a2396d8e8327aff1ce50bea3fb4f16ff3455b;p=pandora-kernel.git iwmc3200wifi: fix NULL pointer dereference in iwm_if_free The driver private data is now based on wiphy. So we should not touch the private data after wiphy_free() is called. The patch fixes the potential NULL pointer dereference by making the iwm_wdev_free() the last one on the interface removal path. Signed-off-by: Zhu Yi Signed-off-by: John W. Linville --- Reading git-diff-tree failed