Stop stock hostapd before testing and restart stock hostapd after testing.