NetworkManager/src/wimax
Dan Williams e20d64f76b wimax: handle device removal when the WiMAX Network Service goes away
There's some confusion in the code about indexes; there's the SDK index
from the NS, and there's the internal device index.  Of course we've
got to use the internal device index to remove it from our list, so we
need to convert the SDK index to an internal index before we can call
iwmx_sdk_dev_rm().

Second, the:

if (device_id_list_size < devid->deviceIndex) {

check is useless because by the time we get here, the device is already
gone from the SDK's device list, so this always triggers of the NS
quits.  So just run this check when devices get added to ensure the
NS isn't lying to us.  The, if we get a device removal event, match
up the SDK index with some internal device's SDK index and remove that.
2011-04-01 17:57:09 -05:00
..
iwmxsdk.c wimax: handle device removal when the WiMAX Network Service goes away 2011-04-01 17:57:09 -05:00
iwmxsdk.h wimax: add Center Frequency, RSSI, CINR, TX Power, and BSID properties 2011-01-06 15:18:19 -06:00
Makefile.am build: make WiMAX support optional 2011-01-05 18:23:08 -06:00
nm-device-wimax.c wimax: log a message when connecting to an NSP 2011-03-17 23:58:50 -05:00
nm-device-wimax.h wimax: add Center Frequency, RSSI, CINR, TX Power, and BSID properties 2011-01-06 15:18:19 -06:00
nm-wimax-nsp.c wimax: fix dbus-glib assert when wimax strength overflows 2011-03-11 18:20:42 -06:00
nm-wimax-nsp.h wimax: Implement WiMAX support 2009-12-18 15:41:27 +02:00
nm-wimax-types.h wimax: Implement WiMAX support 2009-12-18 15:41:27 +02:00
nm-wimax-util.c wimax: make WiMAX mostly work 2011-01-03 23:55:38 -06:00
nm-wimax-util.h wimax: make WiMAX mostly work 2011-01-03 23:55:38 -06:00