On Mon, May 18, 2009 at 02:55:36PM +0200, Alexandre Becholey wrote: > Report status unknown as if there were successfully transmitted. > This will avoid hostapd to disassociate because it doesn't understand what a status unknown is. > > Signed-off-by: Alexandre Becholey <alexandre.becholey@xxxxxxx> > --- > drivers/net/wireless/rt2x00/rt2x00dev.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > Seems OK, but... > diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c > index f227084..0bbee06 100644 > --- a/drivers/net/wireless/rt2x00/rt2x00dev.c > +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c > @@ -280,6 +280,9 @@ void rt2x00lib_txdone(struct queue_entry *entry, > if (!(tx_info->flags & IEEE80211_TX_CTL_NO_ACK)) { > if (test_bit(TXDONE_SUCCESS, &txdesc->flags)) > tx_info->flags |= IEEE80211_TX_STAT_ACK; > + /* Report unkown status as if it was success */ > + else if (test_bit(TXDONE_UNKNOWN, &txdesc->flags)) > + tx_info->flags |= IEEE80211_TX_STAT_ACK; > else if (test_bit(TXDONE_FAILURE, &txdesc->flags)) > rt2x00dev->low_level_stats.dot11ACKFailureCount++; > } Please use tabs... -- John W. Linville Someday the world will need a hero, and you linville@xxxxxxxxxxxxx might be all we have. Be ready. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html