diff --git a/luci-proto-mbim/htdocs/luci-static/resources/protocol/mbim.js b/luci-proto-mbim/htdocs/luci-static/resources/protocol/mbim.js index 72bb9f7ba..85b101ec2 100644 --- a/luci-proto-mbim/htdocs/luci-static/resources/protocol/mbim.js +++ b/luci-proto-mbim/htdocs/luci-static/resources/protocol/mbim.js @@ -28,7 +28,7 @@ return network.registerProtocol('mbim', { return this._ubus('l3_device') || 'mbim-%s'.format(this.sid); }, - getOpkgPackage: function() { + getPackageName: function() { return 'umbim'; }, diff --git a/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js b/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js index c918a1d74..b7a0d44b8 100644 --- a/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js +++ b/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js @@ -25,7 +25,7 @@ return network.registerProtocol('modemmanager', { return this._ubus('l3_device') || 'modemmanager-%s'.format(this.sid); }, - getOpkgPackage: function() { + getPackageName: function() { return 'modemmanager'; },