]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
wl1251: fix beacon filter table structure
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 17 Aug 2010 19:46:54 +0000 (22:46 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Aug 2010 20:32:04 +0000 (16:32 -0400)
The beacon filter table configuration ACX structure had certain elements
reversed, fix it to match TI driver.

Based on wl1271 patch 1937e742639c03a6fe77239c3003ce9602302117 by
Juuso Oikarinen.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Kalle Valo <kvalo@adurom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_acx.h

index 9864124d9e1b47c5f7ade2009cfba1d7bee570e1..a8845b8f245124d3373107afd929400e9dc946c0 100644 (file)
@@ -459,8 +459,8 @@ struct acx_beacon_filter_ie_table {
        struct acx_header header;
 
        u8 num_ie;
-       u8 table[BEACON_FILTER_TABLE_MAX_SIZE];
        u8 pad[3];
+       u8 table[BEACON_FILTER_TABLE_MAX_SIZE];
 } __packed;
 
 #define SYNCH_FAIL_DEFAULT_THRESHOLD    10     /* number of beacons */