Fix for Wifi-Direct (Thanks to s107ken)