Changes in v2: - Fixed a bug in the second patch: deactivate_direction() was being called unconditionally. Tanu Kaskinen (2): switch-on-port-available: remove unused return values switch-on-port-available: deactivate direction when the no ports are available for that direction src/modules/module-switch-on-port-available.c | 55 ++++++++++++++++++++++----- 1 file changed, 45 insertions(+), 10 deletions(-) -- 2.14.2