framework/connectivity/connman.git
13 years agogdbus: explicitly compare pointers to NULL
Lucas De Marchi [Sat, 27 Nov 2010 19:39:01 +0000 (17:39 -0200)]
gdbus: explicitly compare pointers to NULL

This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>

13 years agotechnology: Fix technology refcount
Samuel Ortiz [Wed, 8 Dec 2010 15:52:19 +0000 (16:52 +0100)]
technology: Fix technology refcount

The blocked getter was bumping the technology refcount by calling
technology_get() instead of technology_find().

13 years agomain: Stop rfkill after the plugins
Samuel Ortiz [Wed, 8 Dec 2010 15:04:22 +0000 (16:04 +0100)]
main: Stop rfkill after the plugins

In order to catch rfkill device deletion and to propagate those events
to the technology layer properly.

13 years agodnsproxy: Stop polling a nameserver when connect fails
Samuel Ortiz [Wed, 8 Dec 2010 14:57:12 +0000 (15:57 +0100)]
dnsproxy: Stop polling a nameserver when connect fails

The server data structure also needs to be cleaned up.

13 years agoethernet: Add USB CDC tethering support
Martin Xu [Wed, 8 Dec 2010 11:27:13 +0000 (12:27 +0100)]
ethernet: Add USB CDC tethering support

13 years agoAdd CONNMAN_DEVICE_TYPE_GADGET and CONNMAN_SERVICE_TYPE_GADGET
Martin Xu [Wed, 8 Dec 2010 08:28:40 +0000 (16:28 +0800)]
Add CONNMAN_DEVICE_TYPE_GADGET and CONNMAN_SERVICE_TYPE_GADGET

13 years agoinet: Add connman_inet_[add|remove]_to_bridge() routines
Martin Xu [Wed, 8 Dec 2010 08:28:39 +0000 (16:28 +0800)]
inet: Add connman_inet_[add|remove]_to_bridge() routines

13 years agoFix SYSTEMD_UNITDIR typo
Ian Lee [Wed, 8 Dec 2010 00:13:12 +0000 (00:13 +0000)]
Fix SYSTEMD_UNITDIR typo

13 years agotethering: Set tethering_status earlier
Martin Xu [Fri, 3 Dec 2010 11:06:47 +0000 (19:06 +0800)]
tethering: Set tethering_status earlier

With synchronous technologies (e.g. ethernet),
connman_technology_tethering_notify() is called immediatly after
enabling or disabling tethering. If tethering_status is not properly
set, then that will fail.

13 years agodnsproxy: Support multiple search domain per service
Samuel Ortiz [Tue, 7 Dec 2010 15:52:48 +0000 (16:52 +0100)]
dnsproxy: Support multiple search domain per service

The server data structure now takes a domain list instead of a single
domain string.

13 years agoresolver: Add support for multiple search domains
Henri Bragge [Tue, 7 Dec 2010 08:49:38 +0000 (10:49 +0200)]
resolver: Add support for multiple search domains

Domains are appended to entry list just like nameservers, and finally exported
to /etc/resolv.conf. Domains are written to resolv.conf in reverse order so
that the most recently appended domain will have the highest priority.

Search domains should only be useful for resolvfile_resolver and should be
ignored by dnsproxy_resolver.

13 years agodnsproxy: Ignore adding and removing of NULL servers
Henri Bragge [Fri, 3 Dec 2010 12:42:30 +0000 (14:42 +0200)]
dnsproxy: Ignore adding and removing of NULL servers

13 years agogresolv: Destroy query after removing it from the resolv queue
Samuel Ortiz [Tue, 7 Dec 2010 11:16:57 +0000 (12:16 +0100)]
gresolv: Destroy query after removing it from the resolv queue

Fixes BMC#10958

13 years agogresolv: Remove ipv6 query from the resolv queue
Samuel Ortiz [Tue, 7 Dec 2010 11:15:43 +0000 (12:15 +0100)]
gresolv: Remove ipv6 query from the resolv queue

13 years agowifi: Fix technology driver name and type
Samuel Ortiz [Mon, 6 Dec 2010 23:14:23 +0000 (00:14 +0100)]
wifi: Fix technology driver name and type

13 years agoofono: Fix signal strength report
Samuel Ortiz [Fri, 3 Dec 2010 23:25:38 +0000 (00:25 +0100)]
ofono: Fix signal strength report

13 years agortnl: Receive notification of RDNSS from IPv6 router advertisements
David Woodhouse [Fri, 3 Dec 2010 01:20:31 +0000 (01:20 +0000)]
rtnl: Receive notification of RDNSS from IPv6 router advertisements

13 years agoresolver: Handle temporary nameservers with automatic expiry
David Woodhouse [Fri, 3 Dec 2010 01:20:13 +0000 (01:20 +0000)]
resolver: Handle temporary nameservers with automatic expiry

We'll need this for servers discovered by RDNSS in IPv6 RA

13 years agoRemove selftest file and option
Samuel Ortiz [Thu, 2 Dec 2010 16:56:16 +0000 (17:56 +0100)]
Remove selftest file and option

13 years agodnsproxy: Fix handling of IPv6 nameservers
David Woodhouse [Thu, 2 Dec 2010 14:16:51 +0000 (14:16 +0000)]
dnsproxy: Fix handling of IPv6 nameservers

13 years agoservice: Initiate scan when not retrying a failed connection
Samuel Ortiz [Thu, 2 Dec 2010 16:00:53 +0000 (17:00 +0100)]
service: Initiate scan when not retrying a failed connection

13 years agotest: simple-agent support for ReportError method call
Patrik Flykt [Thu, 2 Dec 2010 14:09:16 +0000 (16:09 +0200)]
test: simple-agent support for ReportError method call

simple-agent receives the ReportError method call and prompts whether to
retry the service.

13 years agoservice: Call __connman_agent_report_error when a service fails to connect
Patrik Flykt [Thu, 2 Dec 2010 14:09:15 +0000 (16:09 +0200)]
service: Call __connman_agent_report_error when a service fails to connect

When a service fails, call __connman_agent_report_error to send an
ReportError method call to the agent. Sending of ReportError is requested
only if the service was connected due to a D-Bus request. Thus automatic
connection creation will be done silently without invoking an agent.

13 years agoagent: Agent API ReportError method call
Patrik Flykt [Thu, 2 Dec 2010 14:09:14 +0000 (16:09 +0200)]
agent: Agent API ReportError method call

The __connman_agent_report_error function creates and sends a ReportError
method call to the registered agent. The agent can reply with D-Bus error
org.moblin.connman.Agent.Error.Retry if the same service is to be retried.

13 years agoservice: Create service_complete helper function
Patrik Flykt [Thu, 2 Dec 2010 14:09:13 +0000 (16:09 +0200)]
service: Create service_complete helper function

The service_complete helper function factors out reply sending to clients,
running autoconnect and updating service modification time.

13 years agodoc: Fix Agent API error definitions
Patrik Flykt [Thu, 2 Dec 2010 14:09:12 +0000 (16:09 +0200)]
doc: Fix Agent API error definitions

D-Bus errors renamed to org.moblin.connman.Agent.* since object paths are
not allowed to be used as error name components.

13 years agowifi: Register technology driver
Samuel Ortiz [Tue, 30 Nov 2010 19:12:34 +0000 (20:12 +0100)]
wifi: Register technology driver

13 years agotechnology: Add regulatory domain framework
Samuel Ortiz [Tue, 30 Nov 2010 19:11:20 +0000 (20:11 +0100)]
technology: Add regulatory domain framework

13 years agogresolv: Implement RFC3484 rule 9 (prefer longest matching prefix)
David Woodhouse [Thu, 2 Dec 2010 11:00:03 +0000 (11:00 +0000)]
gresolv: Implement RFC3484 rule 9 (prefer longest matching prefix)

13 years agogresolv: Add scope handling to RFC3484 sort
David Woodhouse [Thu, 2 Dec 2010 10:25:58 +0000 (10:25 +0000)]
gresolv: Add scope handling to RFC3484 sort

13 years agogresolv: First partial implementation for RFC3484 sorting
David Woodhouse [Thu, 2 Dec 2010 09:14:51 +0000 (09:14 +0000)]
gresolv: First partial implementation for RFC3484 sorting

13 years agogresolv: Calculate precedence/label/etc required for RFC3484 sorting
David Woodhouse [Thu, 2 Dec 2010 02:47:53 +0000 (02:47 +0000)]
gresolv: Calculate precedence/label/etc required for RFC3484 sorting

13 years agogresolv: Don't convert results to strings so early
David Woodhouse [Thu, 2 Dec 2010 00:25:30 +0000 (00:25 +0000)]
gresolv: Don't convert results to strings so early

We're going to want results in sockaddr form for sorting, so let's put
them directly into the array we'll want for the sort process, even though
we haven't actually implemented sorting yet.

We can ditch the support for arbitrary callbacks from the individual
queries, too; there's no need for that. The callback to user code comes
from the *lookup*, having combined the A and AAAA query results.

13 years agogresolv: Send A and AAAA queries, merge results for lookup callback
David Woodhouse [Wed, 1 Dec 2010 21:49:16 +0000 (21:49 +0000)]
gresolv: Send A and AAAA queries, merge results for lookup callback

13 years agogresolv: Start handling AAAA results in query
David Woodhouse [Wed, 1 Dec 2010 16:49:05 +0000 (16:49 +0000)]
gresolv: Start handling AAAA results in query

13 years agogresolv: Fix handling of IPv6 nameservers
David Woodhouse [Wed, 1 Dec 2010 16:40:52 +0000 (16:40 +0000)]
gresolv: Fix handling of IPv6 nameservers

If IPv6 nameservers were specified in /etc/resolv.conf, we would end up
sending NS queries to 0.0.0.0 because we weren't parsing the __res_state
structure correctly. We were assuming that all listed nameservers would
be Legacy IP.

Also fix connect_udp_channel() to generate the address correctly instead
of just asssuming Legacy IP.

13 years agogresolv: Handle POLLERR on DNS UDP socket
David Woodhouse [Wed, 1 Dec 2010 16:35:58 +0000 (16:35 +0000)]
gresolv: Handle POLLERR on DNS UDP socket

If we get an error on the UDP socket, we'll currently go into an endless
loop eating CPU with poll() returning POLLERR and us ignoring it.

This at least hooks things up so that our callback gets called, and we
stop looping. But the callback's handling of POLLERR isn't correct. It
should close the socket and open a new one. As it is, it's just going to
try to use the same broken socket again for the next request. But at least
with this patch it'll stop eating CPU.

13 years agogdhcp: Initialise socket structure before binding
Samuel Ortiz [Mon, 29 Nov 2010 16:44:52 +0000 (17:44 +0100)]
gdhcp: Initialise socket structure before binding

13 years agodevice: Support already powered up devices
Samuel Ortiz [Mon, 29 Nov 2010 16:43:28 +0000 (17:43 +0100)]
device: Support already powered up devices

13 years agodevice: Support already powered devices
Leena Gunda [Thu, 25 Nov 2010 15:11:38 +0000 (20:41 +0530)]
device: Support already powered devices

When a device is already powered up, the enable hook will return -EALREADY.
In that case, ConnMan should just set it to powered and enable its
underlying technology.

Fixes BMC#10397

13 years agoofono: Parse the new Lockdown property
Gustavo F. Padovan [Thu, 25 Nov 2010 19:09:10 +0000 (17:09 -0200)]
ofono: Parse the new Lockdown property

ConnMan should not try power up the modem if some is holding the modem
lock. If it does an error will be returned in that case so this is just an
optimization.
Connman will re-power the modem if the lock is released.

13 years agoRelease 0.64
Marcel Holtmann [Fri, 26 Nov 2010 10:16:40 +0000 (11:16 +0100)]
Release 0.64

13 years agoRemove support for dhclient plugin
Marcel Holtmann [Fri, 26 Nov 2010 10:10:09 +0000 (11:10 +0100)]
Remove support for dhclient plugin

13 years agoRemove moblin.org domain from resolver selftest
Marcel Holtmann [Fri, 26 Nov 2010 10:01:30 +0000 (11:01 +0100)]
Remove moblin.org domain from resolver selftest

13 years agoChange service name from org.moblin.connman to net.connman
Marcel Holtmann [Fri, 26 Nov 2010 09:57:42 +0000 (10:57 +0100)]
Change service name from org.moblin.connman to net.connman

13 years agoRevert "Return to mainloop before starting DHCP procedure"
Marcel Holtmann [Fri, 26 Nov 2010 09:49:09 +0000 (10:49 +0100)]
Revert "Return to mainloop before starting DHCP procedure"

This reverts commit c678775fd7e36250be2c036e4746d8af0164fea9.

13 years agoUpdate TODO list regarding WPS support
Tomasz Bursztyka [Thu, 25 Nov 2010 12:17:21 +0000 (14:17 +0200)]
Update TODO list regarding WPS support

13 years agoUpdate TODO list about IPv6 enhancements
Jukka Rissanen [Thu, 25 Nov 2010 12:09:19 +0000 (13:09 +0100)]
Update TODO list about IPv6 enhancements

13 years agoUpdate TODO list regarding Agent API
Patrik Flykt [Thu, 25 Nov 2010 12:08:35 +0000 (13:08 +0100)]
Update TODO list regarding Agent API

13 years agoTODO update
Samuel Ortiz [Thu, 25 Nov 2010 12:02:26 +0000 (13:02 +0100)]
TODO update

13 years agoMention Gustavo Padovan's contributions
Samuel Ortiz [Thu, 25 Nov 2010 11:40:49 +0000 (12:40 +0100)]
Mention Gustavo Padovan's contributions

13 years agoofono: Fix Modem properties parsing
Gustavo F. Padovan [Thu, 25 Nov 2010 01:01:27 +0000 (23:01 -0200)]
ofono: Fix Modem properties parsing

Rename properties to prop to keep code under 80 columns.

13 years agotest: Providers is no longer a manager property
Gustavo F. Padovan [Wed, 24 Nov 2010 18:21:39 +0000 (16:21 -0200)]
test: Providers is no longer a manager property

13 years agogdhcp: Support hostname with space characters
Martin Xu [Thu, 25 Nov 2010 06:03:14 +0000 (14:03 +0800)]
gdhcp: Support hostname with space characters

13 years agotethering: Remove bridge asynchronously
Samuel Ortiz [Wed, 24 Nov 2010 14:45:47 +0000 (15:45 +0100)]
tethering: Remove bridge asynchronously

The tethering bridge should be removed once the technology signals that
tethering is actually disabled.

13 years agotethering: Properly check for tethering refcount hitting 0
Samuel Ortiz [Wed, 24 Nov 2010 14:36:56 +0000 (15:36 +0100)]
tethering: Properly check for tethering refcount hitting 0

13 years agotethering: Disable forward delay on the tethering bridge
Samuel Ortiz [Wed, 24 Nov 2010 14:24:05 +0000 (15:24 +0100)]
tethering: Disable forward delay on the tethering bridge

13 years agoReturn to mainloop before starting DHCP procedure
Marcel Holtmann [Wed, 24 Nov 2010 13:53:35 +0000 (14:53 +0100)]
Return to mainloop before starting DHCP procedure

Just before starting the DHCP procedure return to mainloop first. This
fixes some cases where the interface is not yet up. This happens mainly
when using Bluetooth PAN connections where the network interface will be
newly created every single time.

13 years agoIncrease number of DHCP discover attempts for interoperability
Marcel Holtmann [Wed, 24 Nov 2010 13:48:02 +0000 (14:48 +0100)]
Increase number of DHCP discover attempts for interoperability

Currently the DHCP discover is retried five times with a timeout of
three seconds. This is not always enough if a bridge forward delay
is longer than 15 seconds is configured. So increase DHCP discover
attempts to ten times.

13 years agoipv4: Use existing connman_inet_ifname() routine
Samuel Ortiz [Tue, 23 Nov 2010 13:48:24 +0000 (14:48 +0100)]
ipv4: Use existing connman_inet_ifname() routine

13 years agotechnology: Decrease blocked refcount when removing a blocked device
Samuel Ortiz [Tue, 23 Nov 2010 13:44:26 +0000 (14:44 +0100)]
technology: Decrease blocked refcount when removing a blocked device

Fixes BMC#10330

13 years agoofono: Set network group when adding the network
Mohamed Abbas [Mon, 22 Nov 2010 20:37:53 +0000 (12:37 -0800)]
ofono: Set network group when adding the network

The network probing code path already calls profile_add_network, calling
it again from the oFono network probing hook leads to wrong reference
counting.

Fixes BMC#9985

13 years agogsupplicant: Set interface data to NULL upon driver removal
Leena Gunda [Mon, 22 Nov 2010 12:26:32 +0000 (17:56 +0530)]
gsupplicant: Set interface data to NULL upon driver removal

Fixes BMC#10302

13 years agogsupplicant: Fix D-Bus interface name arguments
Leena Gunda [Fri, 19 Nov 2010 05:56:48 +0000 (11:26 +0530)]
gsupplicant: Fix D-Bus interface name arguments

Interface.Network, Interface.BSS and Interface.Blob do not exist.

Fixes BMC#10205

13 years agoFix compilation warning/error with g_web_set_user_agent usage
Johan Hedberg [Sun, 21 Nov 2010 20:41:37 +0000 (21:41 +0100)]
Fix compilation warning/error with g_web_set_user_agent usage

This patch fixes the following warning/error:

tools/web-test.c: In function ‘main’:
tools/web-test.c:134: error: format not a string literal and no format arguments

13 years agoRun WISPr login procedure outside of GIOChannel callback
Marcel Holtmann [Sun, 21 Nov 2010 19:43:03 +0000 (20:43 +0100)]
Run WISPr login procedure outside of GIOChannel callback

13 years agoAdd missing break statement to WISPr client
Marcel Holtmann [Sun, 21 Nov 2010 19:03:03 +0000 (20:03 +0100)]
Add missing break statement to WISPr client

13 years agoopenconnect: Fix connect-vpn and plugin indentation
Samuel Ortiz [Fri, 19 Nov 2010 18:31:09 +0000 (19:31 +0100)]
openconnect: Fix connect-vpn and plugin indentation

13 years agoopenconnect: Pass server certificate hash directly to openconnect
David Woodhouse [Fri, 19 Nov 2010 17:52:38 +0000 (18:52 +0100)]
openconnect: Pass server certificate hash directly to openconnect

When we spawn openconnect to make a VPN connection, it obviously needs
to validate the server's SSL certificate to protect against a MiTM
attack. But it may not have full access to the user's CA chain, or the
user may have manually accepted a dubious certificate.

To allow for this, the GUI authentication dialog returns a SHA1 of the
server's SSL certificate fingerprint, for the *specific* server that it
managed to authenticate to.

The intention is that this should be passed through to openconnect when
it connects. That way, openconnect doesn't need to do any normal
validation; it only needs to compare the certificate with what's
expected.

From openconnect v2.26, certificate validation is enabled by default;
rather than only when a --cafile option is given. So it's important that
we start passing the certificate fingerprint through, to avoid
connection failures (which we don't currently detect and report
gracefully, btw).

13 years agoMention David's contributions
Samuel Ortiz [Fri, 19 Nov 2010 15:34:29 +0000 (16:34 +0100)]
Mention David's contributions

13 years agodnsproxy: Remove TCP receive path potential busy waits
David Woodhouse [Fri, 19 Nov 2010 15:41:00 +0000 (16:41 +0100)]
dnsproxy: Remove TCP receive path potential busy waits

When receiving a DNS over TCP request response back from the server,
ConnMan busy waits for the whole response to arrive, or if the server
closes the TCP connection.

Fixes BMC#9960

13 years agowifi-legacy: Set associating to FALSE when disconnecting
Samuel Ortiz [Tue, 16 Nov 2010 16:12:56 +0000 (17:12 +0100)]
wifi-legacy: Set associating to FALSE when disconnecting

13 years agomonitor-services: Invalid syntax typo fix
Leena Gunda [Tue, 16 Nov 2010 14:14:11 +0000 (15:14 +0100)]
monitor-services: Invalid syntax typo fix

Fixes BMC#9995

13 years agoiptables-test: Fix build failure against 2.6.37-rc1 headers
Samuel Ortiz [Tue, 16 Nov 2010 14:08:09 +0000 (15:08 +0100)]
iptables-test: Fix build failure against 2.6.37-rc1 headers

13 years agoiptables: Fix build failure against 2.6.37-rc1 headers
Samuel Ortiz [Tue, 16 Nov 2010 14:06:34 +0000 (15:06 +0100)]
iptables: Fix build failure against 2.6.37-rc1 headers

13 years agotest: Allow setting gateway for a static ip address.
Gustavo Sverzut Barbieri [Mon, 15 Nov 2010 09:30:00 +0000 (07:30 -0200)]
test: Allow setting gateway for a static ip address.

13 years agotethering: Fix for default interface string double free
Leena Gunda [Tue, 16 Nov 2010 09:10:48 +0000 (14:40 +0530)]
tethering: Fix for default interface string double free

13 years agoMention Patrick's contributions
Samuel Ortiz [Mon, 15 Nov 2010 14:26:48 +0000 (15:26 +0100)]
Mention Patrick's contributions

13 years agotethering: Duplicate default interface string
Samuel Ortiz [Sun, 14 Nov 2010 00:51:52 +0000 (01:51 +0100)]
tethering: Duplicate default interface string

13 years agotethering: Start DHCP server on the bridge
Samuel Ortiz [Sun, 14 Nov 2010 00:10:38 +0000 (01:10 +0100)]
tethering: Start DHCP server on the bridge

13 years agotethering: Check for tethering_status to be FALSE when disabling it
Samuel Ortiz [Sat, 13 Nov 2010 23:52:41 +0000 (00:52 +0100)]
tethering: Check for tethering_status to be FALSE when disabling it

13 years agotethering: Configure bridge interface when starting tethering
Samuel Ortiz [Sat, 13 Nov 2010 23:50:43 +0000 (00:50 +0100)]
tethering: Configure bridge interface when starting tethering

13 years agotethering: Flush POSTROUTING table when needed
Samuel Ortiz [Sat, 13 Nov 2010 23:13:51 +0000 (00:13 +0100)]
tethering: Flush POSTROUTING table when needed

13 years agoiptables: Flush netfilter table cache after committing
Samuel Ortiz [Sat, 13 Nov 2010 23:11:47 +0000 (00:11 +0100)]
iptables: Flush netfilter table cache after committing

13 years agoiptables: Free blob replacement after pushing it
Samuel Ortiz [Sat, 13 Nov 2010 23:07:37 +0000 (00:07 +0100)]
iptables: Free blob replacement after pushing it

13 years agoiptables-test: Support for chain flushing
Samuel Ortiz [Sat, 13 Nov 2010 22:28:57 +0000 (23:28 +0100)]
iptables-test: Support for chain flushing

13 years agoiptables: Support for chain flushing
Samuel Ortiz [Sat, 13 Nov 2010 22:19:47 +0000 (23:19 +0100)]
iptables: Support for chain flushing

13 years agogdhcp: Fix server function name typo
Samuel Ortiz [Fri, 12 Nov 2010 19:24:46 +0000 (20:24 +0100)]
gdhcp: Fix server function name typo

13 years agogdhcp: Send DHCPNAK when receiving a REQUEST before a DISCOVER
Samuel Ortiz [Fri, 12 Nov 2010 19:09:45 +0000 (20:09 +0100)]
gdhcp: Send DHCPNAK when receiving a REQUEST before a DISCOVER

13 years agodhcp-server-test: Initial implementation
Martin Xu [Fri, 12 Nov 2010 16:52:18 +0000 (17:52 +0100)]
dhcp-server-test: Initial implementation

13 years agogdhcp: Initial DHCP server implementation
Martin Xu [Fri, 12 Nov 2010 16:45:46 +0000 (17:45 +0100)]
gdhcp: Initial DHCP server implementation

13 years agogdhcp: Move get_interface_name and interface_is_up to common.c
Martin Xu [Fri, 12 Nov 2010 16:07:31 +0000 (17:07 +0100)]
gdhcp: Move get_interface_name and interface_is_up to common.c

This is needed for the dhcp server implementation.

13 years agodnsproxy: Handle POLLERR and POLLHUP on the nameserver UDP socket
Samuel Ortiz [Fri, 12 Nov 2010 15:30:39 +0000 (16:30 +0100)]
dnsproxy: Handle POLLERR and POLLHUP on the nameserver UDP socket

poll is restarted when ConnMan receives a new UDP request from the client.

Fixes BMC#9960

13 years agoShow WISPr abort login URL if present
Marcel Holtmann [Fri, 12 Nov 2010 23:57:55 +0000 (08:57 +0900)]
Show WISPr abort login URL if present

13 years agoFor consistency use err instead of ret variable name
Marcel Holtmann [Fri, 12 Nov 2010 22:59:13 +0000 (07:59 +0900)]
For consistency use err instead of ret variable name

13 years agoReport error when enabling IP forwarding
Marcel Holtmann [Fri, 12 Nov 2010 22:57:37 +0000 (07:57 +0900)]
Report error when enabling IP forwarding

13 years agoUse technology information when reporting Tethering status
Marcel Holtmann [Fri, 12 Nov 2010 22:50:18 +0000 (07:50 +0900)]
Use technology information when reporting Tethering status

13 years agoUse a proper technology callback to report Tethering status
Marcel Holtmann [Fri, 12 Nov 2010 22:40:43 +0000 (07:40 +0900)]
Use a proper technology callback to report Tethering status

13 years agoBreak line to not exceed 80 characters
Marcel Holtmann [Fri, 12 Nov 2010 22:30:08 +0000 (07:30 +0900)]
Break line to not exceed 80 characters

13 years agoUse static volatile for atomic global reference counters
Marcel Holtmann [Fri, 12 Nov 2010 22:28:26 +0000 (07:28 +0900)]
Use static volatile for atomic global reference counters