mac802154: Do not try to resend failed packets
authorAlan Ott <alan@signal11.us>
Wed, 3 Apr 2013 04:00:55 +0000 (04:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Apr 2013 21:06:43 +0000 (17:06 -0400)
commit7dd43d356e739ea0fbeb832722fec36ba4e47540
treec33ac6630cf6b107e4faf79706fc252118a0381c
parent524fba6c14d2892bfa27c01577d544d6380291ba
mac802154: Do not try to resend failed packets

When ops->xmit() fails, drop the packet. Devices which support hardware
ack and retry (which include all devices currently supported by mainline),
will automatically retry sending the packet (in the hardware) up to 3
times, per the 802.15.4 spec.  There is no need, and it is incorrect to
try to do it in mac802154.

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