[uboot-kirkwood] Dockstar: Adjust rootfs size to that of the original fw
[openwrt.git] / package / mac80211 / patches / 810-p54-fix-ps.patch
1 From: Christian Lamparter <chunkeey@googlemail.com>
2
3 Michael reported that p54* never really entered power
4 save mode, even tough it was enabled.
5
6 It turned out that upon a power save mode change the
7 firmware will set a special flag onto the last outgoing
8 frame tx status (which in this case is almost always the
9 designated PSM nullfunc frame). This flag confused the
10 driver; It erroneously reported transmission failures
11 to the stack, which then generated the next nullfunc.
12 and so on...
13
14 Cc: <stable@kernel.org>
15 Reported-by: Michael Buesch <mb@bu3sch.de>
16 Tested-by: Michael Buesch <mb@bu3sch.de>
17 Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
18 ---
19 ---
20 drivers/net/wireless/p54/txrx.c | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23 --- compat-wireless-2010-07-29.orig/drivers/net/wireless/p54/txrx.c
24 +++ compat-wireless-2010-07-29/drivers/net/wireless/p54/txrx.c
25 @@ -446,7 +446,7 @@ static void p54_rx_frame_sent(struct p54
26 }
27
28 if (!(info->flags & IEEE80211_TX_CTL_NO_ACK) &&
29 - (!payload->status))
30 + !(payload->status & P54_TX_FAILED))
31 info->flags |= IEEE80211_TX_STAT_ACK;
32 if (payload->status & P54_TX_PSM_CANCELLED)
33 info->flags |= IEEE80211_TX_STAT_TX_FILTERED;
This page took 0.047358 seconds and 5 git commands to generate.