Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixes BMC#24942
|
|
|
|
|
|
|
|
|
|
Also avoid calling set_regdom is the alpha2 is NULL.
|
|
Currently adhoc networks are shown in the service list, although
connecting to those is not supported. Filtering in network.c fails
because the WiFi.Mode was not set so far.
Fixes BMC#24737
|
|
We now have ntp support in the core, hence remove the plugin.
|
|
|
|
By always setting scanning to FALSE in the scan callback,
information for a stopped scan will be processed in
device.c.
|
|
VPN plugin hooks itself into rtnl newlink watch and gives
provider pointer as user data. We must take reference of the
user data pointer as otherwise we might access invalid pointer
if provider is already removed when rtnl watch is triggered.
This seems to be a rare issue but I had one valgrind crash
because of this.
|
|
Assignment discards ‘const’ qualifier from pointer target type.
|
|
Explain how the plugin works for a GSM modem.
|
|
|
|
If the cellular technolgy is disabled while ConnMan is connected
to a cellular network, the plugin gets first a network_disconnect()
call and shortly after that a modem_disable(). network_disconnect()
will set org.ofono.ConnectionContext.Active to false while this call
is pending modem_disable() tries to set org.ofono.Modem.Online to false.
There is no point in waiting for the first call to succeed or fail.
Just cancel it and set the modem offline.
Fixes BMC#24651.
|
|
With e1d92d253c5db96bdc8fe2a21e463fc730570311 we need to register a driver
for each technology.
Fixes BMC#24702.
|
|
|
|
|
|
When we add cdma network, we alloc the context for the modem, due
to add_network logic needs, then we need extract ip settings even
context is not NULL
|
|
For cdma modem, the property change for serial may after interfaces,
then we need to create device for cdma modem when we get serial property
|
|
The connman_service_get_nameservers() is changed to return
all system defined nameservers. This means that the function
now returns an allocated array of all nameservers and caller
must deallocate the returned array.
The change is needed so that we can combine the nameservers
that are set by DHCP code and the IPv6 nameservers that are
set by router advertisements.
|
|
Currently we set wifi interface to NULL in interface_remove_callback.
commit 80e2e08b4887c4e133d3ca7d42ac844fbb974bb8 avoid to use stale
pointer by get wifi pointer through interface, but interface already
removed and should be NULL, then the interface value in wifi will never
set to NULL and will be a wild pointer. Which may cause connman crash
when we connect wifi service after we disable the wifi. This issue does
not exist in latest connman due to connect-service method is removed.
we can set wifi interface in interface_removed which called in remove_interface
in supplicant.c, because after interface is freed in supplicant, we should not
hold this pointer anymore.
Fixes BMC#24364
|
|
Create the ipconfig layer before trying to connect. Withouth
the ipconfig layer the core is not ready to process errors.
|
|
If a modem is already online there will be no updates
on the interfaces and therefore no triggers to do the
complete discovering.
|
|
|
|
Simplify the way the interface apperance and disapperance are
handled and write them explicitly out. This is not extremly fast
or elegant but it is much more readable and maintainable.
Also unregister the network object when the modem goes offline.
Fixes BMC#24432
|
|
Instead of directly online we let the core decide
when to set the modem online therefore we have
to create the connman_device a bit earlier at
register it.
|
|
to use connection_manager_init().
|
|
|
|
Only trigger update code if there was a change in
the interface we are interested in.
|
|
Also follow the patternt that we have only a set function
with an argument for the value tos set.
|
|
Also follow the patternt that we have only a set function
with an argument for the value tos set.
|
|
Also follow the patternt that we have only a set function
with an argument for the value tos set.
|
|
Follow the pattern that we have only a set function with
an argument for the value to set.
|
|
Follow the pattern that we have only a set function with
an argument for the value to set.
|
|
Streamline Property handling code with the rest of the plugin.
|
|
In interface_removed function, connman_device_set_powered may not be
called due to wifi->device is freed before supplicant callback. This
happens when we remove the second wifi device. This may lead technology
refcount inbalance, which could potentially prevent the wifi technology to
be enabled again.
|
|
Fixes BMC#24430
|
|
The return value has to be boolean.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A left over from the refactoring.
|
|
|
|
|