Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
network: Fix noisy warning on every connect
On every connect I get 'Skipping disconnect of ..., network is connecting'. This is happening because __connman_network_connect sets connecting flag before __connman_device_disconnect. The last function then prints warning due to this connecting flag. Changed order of assigning connecting and __connman_device_disconnect fixes this. Connman logic is not effected due to the way how flags connected and associating are handled in __connman_network_connect and __connman_network_disconnect.
- Loading branch information