network: fix ActivateConnection() issue, error argument order
network: fix GetConnectionByAccessPoint() issue