commit | 5ba63533bbf653631faab60f6988506160ec6ba4 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Fri Aug 07 17:54:07 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Aug 14 09:13:44 2009 -0400 |
tree | 8d9ef2670cd3b2f50fe3581820fba5aca365634d | |
parent | ad5351db89681515681c5d5659ddf4c69e3cc6f5 [diff] |
cfg80211: fix alignment problem in scan request The memory layout for scan requests was rather wrong, we put the scan SSIDs before the channels which could lead to the channel pointers being unaligned in memory. It turns out that using a pointer to the channel array isn't necessary anyway since we can embed a zero-length array into the struct. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>