Re: [PATCH] mbm plugin: send enap=0 on disable





2009/11/20 Torgny Johansson <torgny johansson gmail com>
Hi!

This patch makes the mbm plugin send at*enap=0 when disable is called.

Currently enap=0 is only sent when disconnect is called which I don't see happening. That causes enap to stay
connected even if the user selects disconnect from nm-applet.

I'm not sure if this is the intended behaviour or if the bug is that disconnect isn't being called though...

Hi Torgny,

NM 0.8 sends "Enable(false)" instead of "Disconnect()", assuming that it should disconnect the device too, although as you well know, that is not always the case. This is a deviation from the original ModemManager spec, Dan Williams acknowledged this problem and it should be fixed soon.

Regards,

--
Pablo Martí
http://www.linkedin.com/in/pmarti || http://www.warp.es
python -c "print '706d6172746940776172702e6573'.decode('hex')"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]