Ap disabling

BSS must be removed when AP mode is stopped. Also remove obsolete variable.