Fix a bug that reset the connection between the switch and the controlle...

...r.

Solution discovered by: Kazuya Suzuki