device: check avaliable connections are really available
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 15 Feb 2016 20:10:26 +0000 (21:10 +0100)
committerLubomir Rintel <lkundrak@v3.sk>
Mon, 15 Feb 2016 20:32:49 +0000 (21:32 +0100)
commit8b2abe0e2c8f162544a2562fc18a7becbc55d233
treea2178f0ea1754a96abe035927d32ae6b7512427a
parent7bb491c84eed07ad7b58802c4e3eafbe1105db3a
device: check avaliable connections are really available

The nm_device_check_connection_available() call seem to have been accidentally
removed from nm_device_recheck_available_connections() resulting in all
connections always being added.

Fixes 02ec76df5aaa3a3ad197cb1d53c0388029775b07
src/devices/nm-device.c