From: Johannes Berg Date: Wed, 23 Dec 2009 12:15:38 +0000 (+0100) Subject: mac80211: split up and insert custom IEs correctly X-Git-Tag: v2.6.34-rc1~233^2~682^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e664fb3fd2b04e3ac5fad7f046000ba54e0e275;p=pandora-kernel.git mac80211: split up and insert custom IEs correctly Currently, we insert all user-specified IEs before the HT IE for association, and after the HT IE for probe requests. For association, that's correct only if the user-specified IEs are RSN only, incorrect in all other cases including WPA. Change this to split apart the user-specified IEs in two places for association: before the HT IE (e.g. RSN), after the HT IE (generally empty right now I think?) and after WMM (all other vendor-specific IEs). For probes, split the IEs in different places to be correct according to the spec. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed