mirror of git://git.sysmocom.de/ofono
mbm: Fix naming of MBM driver for GPRS context handling
This commit is contained in:
parent
f1e8114f2a
commit
3251e7e234
|
@ -469,7 +469,7 @@ static void mbm_gprs_context_remove(struct ofono_gprs_context *gc)
|
|||
}
|
||||
|
||||
static struct ofono_gprs_context_driver driver = {
|
||||
.name = "mbm",
|
||||
.name = "mbmmodem",
|
||||
.probe = mbm_gprs_context_probe,
|
||||
.remove = mbm_gprs_context_remove,
|
||||
.activate_primary = mbm_gprs_activate_primary,
|
||||
|
|
|
@ -358,7 +358,8 @@ static void mbm_post_sim(struct ofono_modem *modem)
|
|||
|
||||
gprs = ofono_gprs_create(modem, OFONO_VENDOR_MBM,
|
||||
"atmodem", data->modem_port);
|
||||
gc = ofono_gprs_context_create(modem, 0, "mbm", data->modem_port);
|
||||
gc = ofono_gprs_context_create(modem, 0,
|
||||
"mbmmodem", data->modem_port);
|
||||
|
||||
if (gprs && gc)
|
||||
ofono_gprs_add_context(gprs, gc);
|
||||
|
|
Loading…
Reference in New Issue