mac80211: make CALL_TXH a statement
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 29 Oct 2009 07:43:48 +0000 (08:43 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 Nov 2009 20:39:41 +0000 (15:39 -0500)
commit9aa4aee30f4d155fc91abbaecfef9b3bb759699e
tree219f55843fdc548e8def51daa8ffbdb3ae4dc180
parent86c34fe89e9cad9e1ba4d1a8bbf98259035f4caf
mac80211: make CALL_TXH a statement

The multi-line code in this macro wasn't wrapped
in do {} while (0) so we cannot use it in an if()
branch safely in the future -- fix that.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c