From: Mark Cave-Ayland Date: Tue, 8 Oct 2013 15:18:20 +0000 (-0500) Subject: rtlwifi: rtl8192cu: Fix error in pointer arithmetic X-Git-Tag: v3.12-rc7~20^2~20^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9473ca6e920a3b9ca902753ce52833657f9221cc;p=pandora-kernel.git rtlwifi: rtl8192cu: Fix error in pointer arithmetic An error in calculating the offset in an skb causes the driver to read essential device info from the wrong locations. The main effect is that automatic gain calculations are nonsense. Signed-off-by: Mark Cave-Ayland Signed-off-by: Larry Finger Cc: Stable [2.6.39+] Signed-off-by: John W. Linville --- Reading git-diff-tree failed