mirror of git://git.sysmocom.de/ofono
quectel: pass vendor id to gprs and gprs-context
The gprs-context does special casing on the quectel serial modem when probing the supported layer 2 protocols, so pass the vendor id when setting up the atoms.
This commit is contained in:
parent
d97912f5f1
commit
9b681d7a27
|
@ -717,8 +717,9 @@ static void quectel_post_sim(struct ofono_modem *modem)
|
|||
|
||||
DBG("%p", modem);
|
||||
|
||||
gprs = ofono_gprs_create(modem, 0, "atmodem", data->aux);
|
||||
gc = ofono_gprs_context_create(modem, 0, "atmodem", data->modem);
|
||||
gprs = ofono_gprs_create(modem, data->vendor, "atmodem", data->aux);
|
||||
gc = ofono_gprs_context_create(modem, data->vendor, "atmodem",
|
||||
data->modem);
|
||||
|
||||
if (gprs && gc)
|
||||
ofono_gprs_add_context(gprs, gc);
|
||||
|
|
Loading…
Reference in New Issue