[PATCH 4.9 129/139] tty: ipwireless: fix error handling