umbim: extract common code from static and dhcp(v6) setup procedure
authorLech Perczak <lech.perczak@gmail.com>
Sat, 6 Nov 2021 16:51:25 +0000 (17:51 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Apr 2023 19:33:05 +0000 (21:33 +0200)
commitaa7873a9e6f69f04cafcbb37a6b3ad1f4e6f1a69
tree891be97687bae30cda50e34f89af38d15eb2f8b3
parente4db21b413e65bdfe0491a0ff5749d0bdfde04d4
umbim: extract common code from static and dhcp(v6) setup procedure

Beginnings and endings of sub-interface creation procedure were
literally duplicates - extract them outside if "if" blocks

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