]> bbs.cooldavid.org Git - net-next-2.6.git/commit
rt2x00: Add helper function for reporting tx status
authorIvo van Doorn <ivdoorn@gmail.com>
Fri, 6 Aug 2010 18:46:53 +0000 (20:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Aug 2010 19:26:42 +0000 (15:26 -0400)
commit3392beced38f67615b7fc88374940cecec6a0e4f
treeed1376272c1a29c26e9768cefcbca96d60e736c1
parent84804cdca043e2315bf5eae60807ac105929073f
rt2x00: Add helper function for reporting tx status

At some points, some drivers can't report the full TX status
information. This can happen for the UNKNOWN state, or the
FAILURE state (in case the URB failed).
Add a wrapper function to simplify reporting the
empty TX information.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00usb.c
drivers/net/wireless/rt2x00/rt61pci.c