mac80211: fix alignment issue with compare_ether_addr()
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Wed, 28 May 2008 17:45:32 +0000 (23:15 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 May 2008 20:43:50 +0000 (16:43 -0400)
commitc97c23e38625f59e3e9869664eeeb0cab1822948
treebe2409534b84dcbf0b94271915aa5f65b203f7e8
parent70d251b24c44ab2fcba1807a5206e844cf10eb38
mac80211: fix alignment issue with compare_ether_addr()

This addresses an alignment issue with compare_ether_addr().
The addresses passed to compare_ether_addr should be two bytes aligned.
It may function properly in x86 platform. However may not work properly
on IA-64 or ARM processor.

This also fixes a typo in mlme.c where the sk_buff struct name is incorect.
Though sizeof() works for any incorrect structure pointer name as its just
a pointer length that we want, lets just fix it.

Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c
net/mac80211/rx.c
net/mac80211/util.c