From: Michael Braun Date: Wed, 13 Feb 2013 15:49:16 +0000 (+0100) Subject: mac80211: fix WPA with VLAN on AP side with ps-sta X-Git-Tag: v3.9-rc1~139^2~31^2^2~1^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de74a1d9032f4d37ea453ad2a647e1aff4cd2591;p=pandora-kernel.git mac80211: fix WPA with VLAN on AP side with ps-sta When sending a broadcast while at least on of the connected stations is sleeping, it gets queued and send after a DTIM beacon is sent. If the packet was to be sent on a vlan interface, the vif used for dequeing from the per-bss queue does not hold the per-vlan sdata. The correct sdata is required to use the correct per-vlan broadcast/multicast key. This patch fixes this by restoring the per-vlan sdata using the skb->dev entry. Signed-off-by: Michael Braun Signed-off-by: Johannes Berg --- Reading git-diff-tree failed