1. Fix wrong timeout setting in join command, also alter the default timeout value to 10 seconds 2. Don't clear the CONNECTED_BIT when connected to AP.
1. Fix wrong timeout setting in join command, also alter the default timeout value to 10 seconds 2. Don't clear the CONNECTED_BIT when connected to AP.