summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/bcmdhd
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-06-24 10:16:22 -0700
committerDmitry Shmidt <dimitrysh@google.com>2011-06-24 10:21:09 -0700
commitfa0f10bee3e30bca9cdc70139e5186e2be44158b (patch)
tree96bd882e82e2ad8ca4bafe244e625080af2ab421 /drivers/net/wireless/bcmdhd
parentfa150fc81938fda9247b595de74e981ac6b1888b (diff)
net: wireless: bcmdhd: Fix memory poisoning in wl_free_wdev()
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'drivers/net/wireless/bcmdhd')
-rw-r--r--drivers/net/wireless/bcmdhd/wl_cfg80211.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/bcmdhd/wl_cfg80211.c b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
index 4c20fddd38a..7181f2cb50b 100644
--- a/drivers/net/wireless/bcmdhd/wl_cfg80211.c
+++ b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
@@ -3446,7 +3446,6 @@ static void wl_free_wdev(struct wl_priv *wl)
wiphy_unregister(wdev->wiphy);
wiphy_free(wdev->wiphy);
kfree(wdev);
- wl_to_wdev(wl) = NULL;
}
static s32 wl_inform_bss(struct wl_priv *wl)