HomePhabricator

wireless module - dont segv e if connman daemon restarts

Authored by raster on Jul 28 2017, 4:53 PM.

Description

wireless module - dont segv e if connman daemon restarts

so i get a new service of type WIRELESS_SERVICE_TYPE_NONE that's going
to suck when accessing arrays by type like wireless does like
array[cs->type] ... so check type value and if its invalid kill off
the cs as we can't do much useful with it. this fixes an actual segv e
gets if you restart the connamn daemon while e runs.