hostapd: Reset hapd->interface_add properly
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 28 May 2014 09:57:11 +0000 (11:57 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 31 May 2014 12:49:38 +0000 (15:49 +0300)
commit81c4fca10047076fc939b8d480f8d499b9735a48
treed88904443843f6c1deed0418260d25f758d89861
parent3fbd036ea99ec73b48ddb48fd796f701675f6597
hostapd: Reset hapd->interface_add properly

This variable is updated when calling hostapd_if_add(), so it makes
sense to do the same thing when calling hostapd_if_remove().

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