From 4d5ed46093afef4d4e0f419bdc5e5a1f7ab461bd Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Sat, 5 Jul 2008 19:56:47 +0000 Subject: [PATCH] correct construction of delba action frame; don't shift+mask the initiator argument Submitted by: Marvell --- sys/net80211/ieee80211_ht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_ht.c b/sys/net80211/ieee80211_ht.c index a370100e977..7428f0cdd7d 100644 --- a/sys/net80211/ieee80211_ht.c +++ b/sys/net80211/ieee80211_ht.c @@ -1852,7 +1852,7 @@ ieee80211_send_action(struct ieee80211_node *ni, case IEEE80211_ACTION_BA_DELBA: /* XXX */ baparamset = SM(args[0], IEEE80211_DELBAPS_TID) - | SM(args[1], IEEE80211_DELBAPS_INIT) + | args[1] ; ADDSHORT(frm, baparamset); ADDSHORT(frm, args[2]); /* reason code */