[MAC80211]: use switch statement in tx code
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 28 Aug 2007 21:01:54 +0000 (17:01 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:48 +0000 (16:48 -0700)
commitcf966838cd5596ca61d3e9949050442a943f6238
treefc5945ad6df812160b1f865ed29a6b1dc184b3c1
parenteb063c1702a84d58eb4c05a032bbff6f1c29049d
[MAC80211]: use switch statement in tx code

The transmit code needs to set the addresses depending on the
interface type, a likely() for AP/VLAN is quite wrong since
most people will be using STA; convert to a switch statement
to make it look nicer.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/tx.c