All flags should be cleared when we get here before resetting them, currently only these four exist so the result is the same but when more flags are added this is easier to extend. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- net/mac80211/ieee80211.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- wireless-dev.orig/net/mac80211/ieee80211.c 2007-08-28 17:52:42.124622115 +0200 +++ wireless-dev/net/mac80211/ieee80211.c 2007-08-28 17:53:23.414622115 +0200 @@ -880,9 +880,7 @@ static void ieee80211_remove_tx_extra(st pkt_data = (struct ieee80211_tx_packet_data *)skb->cb; pkt_data->ifindex = control->ifindex; - pkt_data->flags &= ~(IEEE80211_TXPD_REQ_TX_STATUS | - IEEE80211_TXPD_DO_NOT_ENCRYPT | IEEE80211_TXPD_REQUEUE | - IEEE80211_TXPD_MGMT_IFACE); + pkt_data->flags = 0; if (control->flags & IEEE80211_TXCTL_REQ_TX_STATUS) pkt_data->flags |= IEEE80211_TXPD_REQ_TX_STATUS; if (control->flags & IEEE80211_TXCTL_DO_NOT_ENCRYPT) -- - 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