]> git.baikalelectronics.ru Git - kernel.git/commit
p54: fix tx feedback status flag check
authorChristian Lamparter <chunkeey@googlemail.com>
Tue, 24 Aug 2010 20:54:05 +0000 (22:54 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 30 Aug 2010 20:02:32 +0000 (16:02 -0400)
commit605a743e7ec6ca26e85fdae7cb2d5eeb940198cf
tree69039659a83d3d47a46cf3bc081f6cfdf5441d35
parent5cad7fa394b5d3825b63d97a2f9a49d84d9bc57d
p54: fix tx feedback status flag check

Michael reported that p54* never really entered power
save mode, even tough it was enabled.

It turned out that upon a power save mode change the
firmware will set a special flag onto the last outgoing
frame tx status (which in this case is almost always the
designated PSM nullfunc frame). This flag confused the
driver; It erroneously reported transmission failures
to the stack, which then generated the next nullfunc.
and so on...

Cc: <stable@kernel.org>
Reported-by: Michael Buesch <mb@bu3sch.de>
Tested-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/txrx.c