Merge from Perforce
Add a function to check if AP is in 'CONNECTED' status before checking AP firmware version