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)
commitb5992fe962b0c91880229ec31166517e4db2977b
tree7672154a4e1237d58c2e81c6674894d6410ddc91
parent7dd43d356e739ea0fbeb832722fec36ba4e47540
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