Try to detect portal even if the location driver is already set
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 8 Sep 2010 14:42:18 +0000 (16:42 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 8 Sep 2010 14:48:02 +0000 (16:48 +0200)
commit3f5b873d23cf44fd46d2f132ebf1f6bb4ae71b1e
tree5be773bebf64d721e6a50b56b11ddbd8a56b5b8f
parenta9290c92660ef4d615ac6d05a9769806b3d97074
Try to detect portal even if the location driver is already set

With DHCP renewals the ConnMan state can go from Online to Ready and a
location detect will start. Since the location driver is already set by
then, this will fail and ConnMan's state will be stuck at Ready. Instead
of returning an error, the location finish() hooks is called and a new
portal detection is triggered.
src/location.c