[PATCH v2 3/8] ch: refactor chProcessAddNetworkDevices