mac80211: free skb on error path of ieee80211_ibss_join()
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Wed, 14 Dec 2011 12:33:30 +0000 (13:33 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Dec 2011 19:50:11 +0000 (14:50 -0500)
commitcb71b8d80334add8991862f9fd36dc50874944ce
treed6a730afd5e4dc6743acd0bbc4166a66621f0ced
parent38c9d6641ff0664911aebe4ba67124f28169a972
mac80211: free skb on error path of ieee80211_ibss_join()

Our new return also created a memleak. The skb should be freed before
returning an error.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ibss.c