diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2009-07-30 12:42:03 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-04 16:44:17 -0400 |
commit | 9d40934e5e28314731d4b32acd2fdf5fb805a3ed (patch) | |
tree | 891cbb9e253c9da4d48f69b3a7c0823f48268034 /drivers/net/wireless/rndis_wlan.c | |
parent | 030645aceb3d9f10b1c3d2231c50f5a8bb3a9667 (diff) |
rndis_wlan: add missing padding to struct rndis_80211_remove_key
OID_802_11_REMOVE_KEY failed with invalid length error, add missing padding to
structure fix this.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r-- | drivers/net/wireless/rndis_wlan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index 7a50cfa18843..3d92b77d9599 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c | |||
@@ -327,6 +327,7 @@ struct ndis_80211_remove_key { | |||
327 | __le32 size; | 327 | __le32 size; |
328 | __le32 index; | 328 | __le32 index; |
329 | u8 bssid[6]; | 329 | u8 bssid[6]; |
330 | u8 padding[2]; | ||
330 | } __attribute__((packed)); | 331 | } __attribute__((packed)); |
331 | 332 | ||
332 | struct ndis_config_param { | 333 | struct ndis_config_param { |