From: Larry Finger Date: Fri, 23 Jan 2009 17:40:22 +0000 (-0600) Subject: rtl8187: Fix driver to return TX retry info for RTL8187L X-Git-Tag: v2.6.30-rc1~662^2~836^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f47690ed42a85820783dee7f16ae47edadf8fad;p=pandora-kernel.git rtl8187: Fix driver to return TX retry info for RTL8187L Current code for the RTL8187 is not returning valid retry information, thus the rate-setting mechanism is not functioning. As a further complication, this info is only obtained by reading a register, which cannot be read while in interrupt context. This patch implements the TX status return to mac80211 through the use of a work queue. One additional problem is that the driver currently enables the rate fallback mechanism of the device, which conflicts with the mac80211 rate-setting algorithm. This version of the patch disables rate fallback. Signed-off-by: Larry Finger Tested-by: Herton Ronaldo Krzesinski Tested-by: Martín Ernesto Barreyro Acked-by: Hin-Tak Leung Signed-off-by: John W. Linville --- Reading git-diff-tree failed