mirror of git://git.sysmocom.de/ofono
Use g_pn_netlink_by_modem() in isimodem driver
This commit is contained in:
parent
89cd67f076
commit
2cda1a32da
|
@ -255,8 +255,7 @@ static int isi_modem_probe(struct ofono_modem *modem)
|
|||
return -errno;
|
||||
}
|
||||
|
||||
link = g_pn_netlink_by_name(ifname);
|
||||
if (link) {
|
||||
if (g_pn_netlink_by_modem(idx)) {
|
||||
DBG("%s: %s", ifname, strerror(EBUSY));
|
||||
return -EBUSY;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue