nl80211: Fix wpa_driver_nl80211_if_add() failure paths
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 28 May 2014 09:57:09 +0000 (11:57 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 31 May 2014 10:43:27 +0000 (13:43 +0300)
commitea39367c1bbebad5af646b3dc7932483b63e8151
tree385b77c92e93a8a864194571c7c710caff76350b
parent9a17b36e55aa7684553a423e87387632e18cb3eb
nl80211: Fix wpa_driver_nl80211_if_add() failure paths

Make sure to not remove interfaces that were not created by
hostapd/wpa_supplicant. This was already done on number of the error
paths, but not all.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
src/drivers/driver_nl80211.c