mac80211: use fixed broadcast address
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 17 Nov 2009 12:34:04 +0000 (13:34 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Nov 2009 22:09:18 +0000 (17:09 -0500)
commit15ff63653e507ec928a4a4386405a82446e096b1
tree4e2ac0e39ab2142ae5115c4f1067e2962190e696
parentd84f323477260e773d5317ad7cbe50f76115cb47
mac80211: use fixed broadcast address

The netdev broadcast address cannot change from
all-ones so there's no need to use it; we can
instead hard-code it. Since we already have an
instance in tkip.c, which will be shared if it
is marked static const, doing this reduces text
size at no data/bss cost.

The real motivation for this is, of course, the
desire to get rid of almost all uses of netdevs
in mac80211 so that auditing their use becomes
easier.

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