commit | 9473ca6e920a3b9ca902753ce52833657f9221cc | [log] [tgz] |
---|---|---|
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | Tue Oct 08 10:18:20 2013 -0500 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Oct 10 14:05:41 2013 -0400 |
tree | 0af41a9f2cf0c83b9d895ac75b64fb7d19b9fb1d | |
parent | c380a1fda55c7853c5e767998365247f4030ef3b [diff] |
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 <mark.cave-ayland@ilande.co.uk> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Stable <stable@vger.kernel.org> [2.6.39+] Signed-off-by: John W. Linville <linville@tuxdriver.com>