mirror of git://git.sysmocom.de/ofono
ifxmodem: removing TAP/TUN support check for XMM vendor
skipping TAP/TUN support check from gprs-context probe for xmm vendor. xmm modem does not require TAP/TUN support. Also it is not enabled by default in enbedded yocto bsp.
This commit is contained in:
parent
c3fdf6a7c5
commit
80470869e5
|
@ -616,9 +616,11 @@ static int ifx_gprs_context_probe(struct ofono_gprs_context *gc,
|
||||||
|
|
||||||
DBG("");
|
DBG("");
|
||||||
|
|
||||||
if (stat(TUN_DEV, &st) < 0) {
|
if (vendor != OFONO_VENDOR_XMM) {
|
||||||
ofono_error("Missing support for TUN/TAP devices");
|
if (stat(TUN_DEV, &st) < 0) {
|
||||||
return -ENODEV;
|
ofono_error("Missing support for TUN/TAP devices");
|
||||||
|
return -ENODEV;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vendor != OFONO_VENDOR_XMM) {
|
if (vendor != OFONO_VENDOR_XMM) {
|
||||||
|
|
Loading…
Reference in New Issue