Finished. At the beginning, switCH will turn down wlanX and set
to managed mode,and then turn wlanX up to scan wifi signal.