commit | 6c9d1b1be8f7704c2d88dd05f011a50112b33c05 | [log] [tgz] |
---|---|---|
author | Li Qiong <liqiong@nfschina.com> | Mon Aug 29 15:12:59 2022 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 20 11:50:15 2022 +0200 |
tree | e3f8381e8643ded727c8bbd85dd63275fd28ce79 | |
parent | 8134d20db6e4d2406de97317da59917d4f4f6067 [diff] |
ieee802154: cc2520: add rc code in cc2520_tx() [ Upstream commit ffd7bdddaab193c38416fd5dd416d065517d266e ] The rc code is 0 at the error path "status & CC2520_STATUS_TX_UNDERFLOW". Assign rc code with '-EINVAL' at this error path to fix it. Signed-off-by: Li Qiong <liqiong@nfschina.com> Link: https://lore.kernel.org/r/20220829071259.18330-1-liqiong@nfschina.com Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org> Signed-off-by: Sasha Levin <sashal@kernel.org>