Fix WPA/WPA2 security for tethering Adjustments
Credits arco
Adjustment from arco branches!