From deb72a6481187a3e885b71a49bbd8fdc1510eba0 Mon Sep 17 00:00:00 2001 From: Amit Shakya Date: Fri, 14 Oct 2011 21:22:35 +0530 Subject: cw1200: Fix for WPA2 security not working The WPA2 security was not working because the local variable which keep track of the 802.11 header was not getting updated correctly in case of security related updations in the skb data field. Change-Id: I55a1aecee615843cf89eecb667597479f88e9756 Signed-off-by: Amit Shakya Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34132 Reviewed-by: Robert MARKLUND Reviewed-by: Dmitry TARNYAGIN Tested-by: Dmitry TARNYAGIN Reviewed-by: Philippe LANGLAIS --- drivers/staging/cw1200/txrx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/cw1200/txrx.c b/drivers/staging/cw1200/txrx.c index a03a17bb79c..30532f3ea90 100644 --- a/drivers/staging/cw1200/txrx.c +++ b/drivers/staging/cw1200/txrx.c @@ -500,6 +500,7 @@ cw1200_tx_h_crypt(struct cw1200_common *priv, newhdr = skb_push(t->skb, iv_len); memmove(newhdr, newhdr + iv_len, t->hdrlen); + t->hdr = (struct ieee80211_hdr *) newhdr; t->hdrlen += iv_len; icv = skb_put(t->skb, icv_len); -- cgit v1.2.3