umbim: connect session for only the selected PDP type
authorLech Perczak <lech.perczak@gmail.com>
Tue, 15 Feb 2022 00:44:32 +0000 (01:44 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Apr 2023 19:33:04 +0000 (21:33 +0200)
commit0be14c622b809e7d3551c21e7ac6dbae6b0403f8
tree715ab0f5249295e8e55b91d9a4e29cbc39f4278b
parent512bb17f3e2a15d52191bb45d63c8d8739f85584
umbim: connect session for only the selected PDP type

Previous implementation automatically set up connections for both IPv4
and IPv6, even if one of them isn't supported. Respect the "pdptype"
option in the same way, as it is done for QMI or NCM, and only start the
respective PDN sessions, if set.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
package/network/utils/umbim/files/lib/netifd/proto/mbim.sh