From: Johannes Berg Date: Tue, 6 Jan 2009 23:26:10 +0000 (+0100) Subject: mac80211: clarify alignment docs, fix up alignment X-Git-Tag: v2.6.30-rc1~662^2~836^2~194 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1c3a37ceeb1a5ea02991a0476355f1a1d3b3e83;p=pandora-kernel.git mac80211: clarify alignment docs, fix up alignment Not all drivers are capable of passing properly aligned frames, in particular with mesh networking no hardware will support completely aligning it correctly. This patch adds code to align the data payload to a 4-byte boundary in memory for those platforms that require this, or when CONFIG_MAC80211_DEBUG_PACKET_ALIGNMENT is set. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed