[connectionagent] fix wlan<->wifi and mobile<->cellular in connectToType