[OpenWrt-Devel] [PATCH v2] ncm: add support to run via proto wwan

Aleksandr Kolesnik neryba at gmail.com
Tue Jul 7 15:04:45 EDT 2015


Hi,

Is it OK now?

Signed-off-by: Aleksandr Kolesnik <neryba at gmail.com>

--- a/package/network/utils/comgt/files/ncm.sh
+++ b/package/network/utils/comgt/files/ncm.sh
@@ -27,6 +27,8 @@ proto_ncm_setup() {
  local device apn auth username password pincode delay mode
  json_get_vars device apn auth username password pincode delay mode

+ [ -n "$ctl_device" ] && device=$ctl_device
+
  [ -n "$device" ] || {
  echo "No control device specified"
  proto_notify_error "$interface" NO_DEVICE


2015-07-07 15:03 GMT+03:00 John Crispin <blogic at openwrt.org>:

> Hi,
>
> patch is generated against the wrong root folder. also your mail client
> replaced tabs with spaces. please fix and resend the patch
>
>         John
>
> On 22/04/2015 15:26, Aleksandr Kolesnik wrote:
> > Signed-off-by: Aleksandr Kolesnik <neryba at gmail.com
> > <mailto:neryba at gmail.com>>
> >
> > --- package/network/utils/comgt/files/ncm.sh
> > +++ package/network/utils/comgt/files/ncm.sh
> > @@ -27,6 +27,8 @@ proto_ncm_setup() {
> >  local device apn auth username password pincode delay mode
> >  json_get_vars device apn auth username password pincode delay mode
> >
> > +[ -n "$ctl_device" ] && device=$ctl_device
> > +
> >  [ -n "$device" ] || {
> >  echo "No control device specified"
> >  proto_notify_error "$interface" NO_DEVICE
> >
> >
> > _______________________________________________
> > openwrt-devel mailing list
> > openwrt-devel at lists.openwrt.org
> > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150707/10bd7419/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list