From 9225c643865d35582848c2da46868c70156e8bb4 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Fri, 25 Jan 2008 14:15:00 +0100 Subject: [PATCH] --- yaml --- r: 81829 b: refs/heads/master c: 5a6e04345abf04f543373f45081d109d13d96822 h: refs/heads/master i: 81827: c63197fb97e05b2c2e01ea72f886b27e1ab8e4bf v: v3 --- [refs] | 2 +- trunk/drivers/net/wireless/libertas/assoc.c | 6 ++++-- trunk/drivers/net/wireless/libertas/dev.h | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 05ee7fedbf0e..4cf3fe5fed4f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9e7d1a445ed0d5c1d8863945d6c4c6f018a4aa83 +refs/heads/master: 5a6e04345abf04f543373f45081d109d13d96822 diff --git a/trunk/drivers/net/wireless/libertas/assoc.c b/trunk/drivers/net/wireless/libertas/assoc.c index c622e9b63cd1..87e145ffe8f1 100644 --- a/trunk/drivers/net/wireless/libertas/assoc.c +++ b/trunk/drivers/net/wireless/libertas/assoc.c @@ -12,8 +12,10 @@ #include "cmd.h" -static const u8 bssid_any[ETH_ALEN] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; -static const u8 bssid_off[ETH_ALEN] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; +static const u8 bssid_any[ETH_ALEN] __attribute__ ((aligned (2))) = + { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; +static const u8 bssid_off[ETH_ALEN] __attribute__ ((aligned (2))) = + { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; static int assoc_helper_essid(struct lbs_private *priv, diff --git a/trunk/drivers/net/wireless/libertas/dev.h b/trunk/drivers/net/wireless/libertas/dev.h index 58d7ef6b5ff5..5a69f2b60865 100644 --- a/trunk/drivers/net/wireless/libertas/dev.h +++ b/trunk/drivers/net/wireless/libertas/dev.h @@ -349,7 +349,7 @@ struct assoc_request { u8 channel; u8 band; u8 mode; - u8 bssid[ETH_ALEN]; + u8 bssid[ETH_ALEN] __attribute__ ((aligned (2))); /** WEP keys */ struct enc_key wep_keys[4];