[PATCH 4.9 050/271] tty: ipwireless: Fix potential NULL pointer dereference