Tong Zhang db33235622 tty: ipwireless: fix error handling
ipwireless_send_packet() can only return 0 on success and -ENOMEM on
error, the caller should check non zero for error condition

Signed-off-by: Tong Zhang <ztong0001@gmail.com>
Acked-by: David Sterba <dsterba@suse.com>
Link: https://lore.kernel.org/r/20200821161942.36589-1-ztong0001@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-09-04 18:08:16 +02:00
..
2020-08-31 07:19:25 +02:00
2019-11-13 19:01:14 +08:00
2019-04-16 15:21:34 +02:00
2020-06-27 16:21:20 +02:00
2020-08-31 07:19:25 +02:00
2020-08-31 07:19:25 +02:00
2020-08-18 13:51:18 +02:00
2020-08-18 13:51:18 +02:00
2020-04-27 09:33:21 +02:00
2020-08-18 13:51:18 +02:00
2020-08-18 13:51:18 +02:00
2020-08-18 13:51:18 +02:00
2020-08-18 13:51:18 +02:00
2020-08-18 13:51:18 +02:00
2020-08-18 13:51:18 +02:00
2020-08-18 13:51:18 +02:00
2019-04-16 15:21:34 +02:00