]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wilink8-wlan/wl18xx.git/commit
wl12xx: fix a memory leak of probereq template upon recovery
authorEyal Shapira <eyal@wizery.com>
Wed, 14 Mar 2012 11:22:09 +0000 (13:22 +0200)
committerEyal Shapira <eyal@wizery.com>
Sun, 18 Mar 2012 14:16:39 +0000 (16:16 +0200)
commit673f97156d28f3076e9550526ed05852d903998c
tree24ad262da5ea42a56bc80f7c002638defd7ac8e1
parentfb888d1710f370a2368379ffa2bee126b26535cd
wl12xx: fix a memory leak of probereq template upon recovery

wlvif->probereq is zeroed when adding an interface but
the skb pointed to isn't freed when the interface is removed.
This would lead to a mem leak on every recovery.
Fix it by freeing the skb when removing the interface.
drivers/net/wireless/ti/wlcore/main.c