wifi: don't avoid poor connections if mobile isn't connected and avoid
NPE on wifi only devices.

Change-Id: I7dcbbe682ee69bc23b8d9fe8cbed49cab7cea04b