diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-01 11:23:37 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-05 21:24:14 +0100 |
commit | 4d196e4b2ffd734393b54f351507462f19d737b5 (patch) | |
tree | 8a5f30e67ce97bf072c54659f7a945341deb446a /net/mac80211/mlme.c | |
parent | mwifiex: endian bug in mwifiex_drv_change_adhoc_chan() (diff) | |
download | linux-4d196e4b2ffd734393b54f351507462f19d737b5.tar.xz linux-4d196e4b2ffd734393b54f351507462f19d737b5.zip |
mac80211: use 16 bit alignment for the if_ibss bssid field
Several MAC address comparison functions assume 16 bit alignment for pointers
passed to them. Since the addition of the control_port field, alignment
for the IBSS bssid was off by one, causing a severe performance hit on
architectures without efficient unaligned access (e.g. MIPS).
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
0 files changed, 0 insertions, 0 deletions