rndis_wlan: free priv correctly when rndis_wext_bind fails
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Tue, 21 Apr 2009 16:48:15 +0000 (19:48 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:57:20 +0000 (16:57 -0400)
commiteb1a685e07310b5137c561e25ab738292db2c8a5
tree9df14988358792162af7fa2a8ea3dc76b8f78742
parent8d4d99ae89a8845a1d63b0529dd98da28dc0ff65
rndis_wlan: free priv correctly when rndis_wext_bind fails

Private structure is allocated by wiphy_new now, so use
wiphy_free instead of kfree.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rndis_wlan.c