aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/transport_class.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2013-11-02 14:28:35 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-04 11:05:22 -0800
commitfb1f1a73d489f6e3f3e04d3e3710aee80f7ff9a5 (patch)
tree9c03cf895544d673e6ff3cdbfdf3c5e542e53483 /drivers/base/transport_class.c
parent4a5170254cdda5bde5ee2f596a2f3669b7af0ae5 (diff)
rtlwifi: Fix endian error in extracting packet type
commit 0c5d63f0ab6728f05ddefa25aff55e31297f95e6 upstream. 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 <Larry.Finger@lwfinger.net> Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/transport_class.c')
0 files changed, 0 insertions, 0 deletions