From: Felix Fietkau Date: Mon, 3 Nov 2008 20:05:01 +0000 (+0100) Subject: mac80211: fix BUILD_BUG_ON() caused by misalignment on arm X-Git-Tag: v2.6.29-rc1~581^2~580^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4821277f36e008b531728e359fbbedb229117f4b;p=pandora-kernel.git mac80211: fix BUILD_BUG_ON() caused by misalignment on arm On ARM alignment is done slightly different from other architectures. struct ieee80211_tx_rate is aligned to word size, even though it only has 3 single-byte members, which triggers the BUILD_BUG_ON in ieee80211_tx_info_clear_status This patch marks the struct ieee80211_tx_rate as packed, so that ARM behaves like the other architectures. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed