diff options
author | Xie He <xie.he.0141@gmail.com> | 2021-02-03 10:15:41 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-05 05:13:25 +0300 |
commit | 81b8be68ef8e8915d0cc6cedd2ac425c74a24813 (patch) | |
tree | 8b32c595bd611e4cc5457e6858c777da16cc7e99 /drivers/net/ipa | |
parent | 7b5eab57cac45e270a0ad624ba157c5b30b3d44d (diff) | |
download | linux-81b8be68ef8e8915d0cc6cedd2ac425c74a24813.tar.xz |
net: hdlc_x25: Return meaningful error code in x25_open
It's not meaningful to pass on LAPB error codes to HDLC code or other
parts of the system, because they will not understand the error codes.
Instead, use system-wide recognizable error codes.
Fixes: f362e5fe0f1f ("wan/hdlc_x25: make lapb params configurable")
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Xie He <xie.he.0141@gmail.com>
Acked-by: Martin Schiller <ms@dev.tdt.de>
Link: https://lore.kernel.org/r/20210203071541.86138-1-xie.he.0141@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ipa')
0 files changed, 0 insertions, 0 deletions