Commit 1937e742 authored by Juuso Oikarinen's avatar Juuso Oikarinen Committed by John W. Linville

wl1271: Fix beacon filter table configuration

The beacon filter table configuration ACX structure had certain elements
reversed, resulting in firmware instability in regard of the feature. Fix
the structure.
Signed-off-by: default avatarJuuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: default avatarKalle Valo <kalle.valo@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 8bf29b0e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* This file is part of wl1271 * This file is part of wl1271
* *
* Copyright (C) 1998-2009 Texas Instruments. All rights reserved. * Copyright (C) 1998-2009 Texas Instruments. All rights reserved.
* Copyright (C) 2008-2009 Nokia Corporation * Copyright (C) 2008-2010 Nokia Corporation
* *
* Contact: Luciano Coelho <luciano.coelho@nokia.com> * Contact: Luciano Coelho <luciano.coelho@nokia.com>
* *
...@@ -348,7 +348,7 @@ struct acx_beacon_filter_option { ...@@ -348,7 +348,7 @@ struct acx_beacon_filter_option {
* ACXBeaconFilterEntry (not 221) * ACXBeaconFilterEntry (not 221)
* Byte Offset Size (Bytes) Definition * Byte Offset Size (Bytes) Definition
* =========== ============ ========== * =========== ============ ==========
* 0 1 IE identifier * 0 1 IE identifier
* 1 1 Treatment bit mask * 1 1 Treatment bit mask
* *
* ACXBeaconFilterEntry (221) * ACXBeaconFilterEntry (221)
...@@ -381,8 +381,8 @@ struct acx_beacon_filter_ie_table { ...@@ -381,8 +381,8 @@ struct acx_beacon_filter_ie_table {
struct acx_header header; struct acx_header header;
u8 num_ie; u8 num_ie;
u8 table[BEACON_FILTER_TABLE_MAX_SIZE];
u8 pad[3]; u8 pad[3];
u8 table[BEACON_FILTER_TABLE_MAX_SIZE];
} __attribute__ ((packed)); } __attribute__ ((packed));
struct acx_conn_monit_params { struct acx_conn_monit_params {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment