hostapd Termination Issue - Intf mode NOT restored!

Jouni Malinen j at w1.fi
Sat Nov 9 12:28:07 EST 2013


On Wed, Nov 06, 2013 at 06:41:31PM +0530, Dibyajyoti Ghosh wrote:
> I am using hostapd [downloaded from git] to set up an AP interface which is
> initially in AP mode or master mode. But when my testing is completed, the
> hostapd changes the interface to *managed* mode upon termination, which is
> unwanted.
> 
> However, when I set up an AP interface which is initially in managed mode,
> then there is no issue.

Well, whether that is unwanted or not depends a bit on the case..
Anyway, it sounds justifiable to leave the interface in its initial
state if it was ready for AP mode operations. I changed hostapd to do
that and also leave the interface up for that matter if that was the
state in which the interface was at the time hostapd was started.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list