Michal Kazior 3fbd036ea9 hostapd: Prevent double interface disabling from segfaulting
Performing, e.g. `wpa_cli -p /var/run/hostapd raw DISABLE` twice led to
hostapd segmentation fault if multiple BSSes were configured. Fix this
by checking if there is anything to disable at all before trying.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
2014-05-31 15:46:45 +03:00
..
2013-12-24 08:22:37 +02:00
2014-03-25 13:12:29 +02:00
2013-12-07 20:50:15 -08:00
2014-03-15 09:57:10 +02:00
2013-12-24 22:59:52 +02:00
2014-04-17 17:12:52 +03:00
2014-03-15 09:57:10 +02:00
2013-12-24 22:59:52 +02:00
2013-12-24 22:59:52 +02:00
2013-12-29 17:18:17 +02:00