diff options
author | Miquel Raynal <[email protected]> | 2022-06-17 21:29:14 +0200 |
---|---|---|
committer | Stefan Schmidt <[email protected]> | 2022-06-27 10:57:32 +0200 |
commit | fbdaa5ba6bd6955f7e7f9228e4d815cc5e43fe5b (patch) | |
tree | 4d4d4dd22aba67146c6abc051bc33734dc8ed43f /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 6c1c78d0182fcbfe953bf5a0c3e71204d176b887 (diff) |
net: mac802154: Fix a Tx warning check
The purpose of the netif_is_down() helper was to ensure that the network
interface used was still up when performing the transmission. What it
actually did was to check if _all_ interfaces were up. This was not
noticed at that time because I did not use interfaces at all before
discussing with Alexander Aring about how to handle coordinators
properly.
Drop the helper and call netif_running() on the right sub interface
object directly.
Fixes: 4f790184139b ("net: mac802154: Add a warning in the slow path")
Signed-off-by: Miquel Raynal <[email protected]>
Acked-by: Alexander Aring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stefan Schmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions