hostapd: Fix interface enabling/disabling and DFS
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 19 Nov 2013 10:08:47 +0000 (11:08 +0100)
committerJouni Malinen <j@w1.fi>
Wed, 20 Nov 2013 20:29:35 +0000 (22:29 +0200)
commit68d628accd71b652ba504cc4166ae8c7d6b697a7
tree6a9ca3e0cec7d20f0807ed721fa39466bbe04480
parent1cba9bea96feca5fb9e49ef71b5bcafa477f48eb
hostapd: Fix interface enabling/disabling and DFS

The 'started' state was tracked incorrectly. It also broke DFS
as it was using hostapd_enable/disable_iface() functions.

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