Hi, I have started going through the hostapd code recently. I have a doubt in the main() function in hostapd.c. After the interfaces are successfully initialized, ret value is set to 0 and from there you have to return from the function right??? Why are you proceeding to label 'out' where it deinitializes all the interfaces and undo all registrations. Regards, Prameela