[PATCH v3 3/9] ch: refactor chProcessAddNetworkDevices