On Sun, Dec 01, 2013 at 12:56:14AM -0600, Larry Finger wrote:
> On 11/30/2013 10:26 PM, [email protected] wrote:
> >
> > The patch below does not apply to the 3.4-stable tree.
> > If someone wants it applied there, or to any other stable or longterm
> > tree, then please email the backport, including the original git commit
> > id to <[email protected]>.
> >
> > thanks,
> >
> > greg k-h
> 
> Greg,
> 
> The patch below is backported to the 3.4 kernel.
> 
> Thanks,
> 
> Larry
> 
> ------------------ original commit in Linus's tree ------------------
> 
>  >From 0c5d63f0ab6728f05ddefa25aff55e31297f95e6 Mon Sep 17 00:00:00 2001
> From: Mark Cave-Ayland <[email protected]>
> Date: Sat, 2 Nov 2013 14:28:35 -0500
> Subject: [PATCH] rtlwifi: Fix endian error in extracting packet type
> 
> All of the rtlwifi drivers have an error in the routine that tests if
> the data is "special". If it is, the subsequant transmission will be
> at the lowest rate to enhance reliability. The 16-bit quantity is
> big-endian, but was being extracted in native CPU mode. One of the
> effects of this bug is to inhibit association under some conditions
> as the TX rate is too high.
> 
> Based on suggestions by Joe Perches, the entire routine is rewritten.
> 
> One of the local headers contained duplicates of some of the ETH_P_XXX
> definitions. These are deleted.
> 
> Signed-off-by: Larry Finger <[email protected]>
> Cc: Mark Cave-Ayland <[email protected]>
> Cc: Stable <[email protected]> [2.6.38+]
> Signed-off-by: John W. Linville <[email protected]>
> 
> Index: linux-2.6/drivers/net/wireless/rtlwifi/base.c
> ===================================================================
> --- linux-2.6.orig/drivers/net/wireless/rtlwifi/base.c
> +++ linux-2.6/drivers/net/wireless/rtlwifi/base.c
> @@ -37,6 +37,7 @@
> 
>   #include <linux/ip.h>
>   #include <linux/module.h>
> +#include <linux/udp.h>
> 
>   /*
>    *NOTICE!!!: This file will be very big, we should

Whitespace was all messed up, that's why it doesn't apply :(

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to