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:
Antara Borwankar 2019-01-11 16:05:47 +05:30 committed by Denis Kenzior
parent c3fdf6a7c5
commit 80470869e5
1 changed files with 5 additions and 3 deletions

View File

@ -616,9 +616,11 @@ static int ifx_gprs_context_probe(struct ofono_gprs_context *gc,
DBG("");
if (stat(TUN_DEV, &st) < 0) {
ofono_error("Missing support for TUN/TAP devices");
return -ENODEV;
if (vendor != OFONO_VENDOR_XMM) {
if (stat(TUN_DEV, &st) < 0) {
ofono_error("Missing support for TUN/TAP devices");
return -ENODEV;
}
}
if (vendor != OFONO_VENDOR_XMM) {