net: fix network drivers ndo_start_xmit() return values (part 3)
authorPatrick McHardy <kaber@trash.net>
Fri, 12 Jun 2009 04:08:02 +0000 (04:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Jun 2009 08:18:37 +0000 (01:18 -0700)
commit4153e77596c4caaf52293b0c6b2207d73ed8f1eb
tree5920561315cfea1b89e287d264fdac6314c670ec
parent4bd73ae2682d9069746bb049a416d9ab90c6684b
net: fix network drivers ndo_start_xmit() return values (part 3)

net: fix network drivers ndo_start_xmit() return values (part 3)

Fix up wireless drivers that return an errno value to qdisc_restart(), causing
qdisc_restart() to print a warning an requeue/retransmit the skb.

- airo: transmission not implemented for chip, intention is to free and abort
- ipw2200: transmission not implemented for promiscous mode, intention is to
           drop
- prism54: intention is to drop
- wl3501_cs: intention appears to be to drop
- zd1201: error counter indicates intention is to drop

All drivers compile tested.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/airo.c
drivers/net/wireless/ipw2x00/ipw2200.c
drivers/net/wireless/prism54/islpci_eth.c
drivers/net/wireless/wl3501_cs.c
drivers/net/wireless/zd1201.c