diff options
author | Alexander Aring <aahringo@redhat.com> | 2022-06-13 07:37:34 +0300 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2022-06-14 11:23:00 +0300 |
commit | 2ec2f6bed4d12a7ed74ed179a5d2879b117105d1 (patch) | |
tree | 703de23024d92b8967ba6bb6e9f112374b471e79 /net/mac802154/tx.c | |
parent | 4f790184139beb8b35a1f4f9a4b6731c6eef1763 (diff) | |
download | linux-2ec2f6bed4d12a7ed74ed179a5d2879b117105d1.tar.xz |
mac802154: util: fix release queue handling
The semantic of atomic_dec_and_test() is to return true if zero is
reached and we need call ieee802154_wake_queue() when zero is reached.
Fixes: 20a19d1df3e4 ("net: mac802154: Bring the ability to hold the transmit queue")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20220613043735.1039895-2-aahringo@redhat.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'net/mac802154/tx.c')
0 files changed, 0 insertions, 0 deletions