tethering: Set tethering_status earlier
authorMartin Xu <martin.xu@intel.com>
Fri, 3 Dec 2010 11:06:47 +0000 (19:06 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 7 Dec 2010 18:24:16 +0000 (19:24 +0100)
commit19ac02e348fe64d2be0e28e30c377f79c5e9e185
treed30dd249ae0e084d4a64f89b69b9c39a56640fa7
parent6d561afdde44e340a7339f1063c99797b92f470a
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.
src/tethering.c