[PATCH 4.14 178/191] tty: ipwireless: fix error handling