USB: android: Fix network device name for NCM and ECM functions
Currently NCM and ECM related network interface name is passed as
"ncm%%d" and "ecm%%d" to register_netdev() API which considers this
as invalid which fails NCM or ECM based USB composition switch.
register_netdev() API is expecting network interface name as
"<ifacename>%d" to assign network interface ID with it. Hence fix
this issue by replacing "ncm%%d" and "ecm%%d" to "ncm%d" and "ecm%d".
CRs-Fixed: 841934
Change-Id: I85bd553f6be9d0648a066bece3f810e94a645f71
Signed-off-by:
Mayank Rana <mrana@codeaurora.org>
Loading
Please register or sign in to comment