device: _get_available_connections() with _get_best_connection()
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 23 Mar 2016 09:35:55 +0000 (10:35 +0100)
committerLubomir Rintel <lkundrak@v3.sk>
Sat, 26 Mar 2016 10:29:41 +0000 (11:29 +0100)
commit621975949024520c71215fe17c7d2ffc86e4efbd
tree21b4f736a06430fbde9eb43474d91792ba7de186
parentb37418157be5a45864b120d966d1f562d1332089
device: _get_available_connections() with _get_best_connection()

We'll need to share the best conneciton logic and it's the only caller
of nm_device_get_available_connections(). Let's just move it all to
NMDevice and provide the best connection from there instead.
src/devices/nm-device.c
src/devices/nm-device.h
src/nm-manager.c