]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: Use netif flow control
authorAlan Ott <alan@signal11.us>
Wed, 3 Apr 2013 04:00:56 +0000 (04:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Apr 2013 21:06:43 +0000 (17:06 -0400)
commitb191fc9fcf94a06aac9a865a33ac7df4a680f178
tree7672154a4e1237d58c2e81c6674894d6410ddc91
parentce733550c5168d20410ea5b16f34084b61525f56
mac802154: Use netif flow control

Use netif_stop_queue() and netif_wake_queue() to control the flow of
packets to mac802154 devices.  Since many IEEE 802.15.4 devices have no
output buffer, and since the mac802154 xmit() function is designed to
block, netif_stop_queue() is called after each packet.

Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac802154/tx.c