cfg80211: fix leaks of wdev->conn->ie
commit415ad1efae1d5fe00d739e612d262eabda90f5e8
authorDavid Kilroy <kilroyd@googlemail.com>
Tue, 18 Aug 2009 23:43:31 +0000 (19 00:43 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:36:06 +0000 (20 11:36 -0400)
tree285f400386932f691849b3c0114c322b64214a88
parenteeef41854deae30ea304544f18684df70ae3f87b
cfg80211: fix leaks of wdev->conn->ie

This only occurs in the following error situations:
 - driver calls connect_result with failure
 - error scheduling authentication on connect
 - error initiating scan (to get BSSID and channel) on
   connect
 - userspace calls disconnect while in the SCANNING or
   SCAN_AGAIN states

Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/sme.c