commit | 513a2396d8e8327aff1ce50bea3fb4f16ff3455b | [log] [tgz] |
---|---|---|
author | Zhu Yi <yi.zhu@intel.com> | Thu Jul 09 17:24:15 2009 +0800 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Jul 21 12:07:31 2009 -0400 |
tree | 7c57830b52248afb95c1270893f4b2dc98ddf781 | |
parent | 1b0d92244ff2434a98272f6d2525da32fc230f19 [diff] |
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 <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>