network: fix wireless autoconnect issue

Variable accessPoints is used when checking access
point if exists, but when network module is
starting, switchHandler is initialized before
accessPoints, this commit will fix this issue.

tower: https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/ce6cbca1ad274cca81ca555db2187ecb/
Change-Id: I1ae5f4ebe8a6895f492abdf5310c49253d60f949