mac80211: fixing delba debug print
authorRon Rindjunsky <ron.rindjunsky@intel.com>
Tue, 18 Mar 2008 22:00:30 +0000 (15:00 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Mar 2008 20:41:56 +0000 (16:41 -0400)
This patch fixes a wrong debug print when receiving delba

Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_sta.c

index 86da69f443847d6b6d459115c7427c5f7ce961e0..28703d1e836253fd96dbe43e9ce5feafc391b636 100644 (file)
@@ -1427,7 +1427,7 @@ static void ieee80211_sta_process_delba(struct net_device *dev,
        if (net_ratelimit())
                printk(KERN_DEBUG "delba from %s (%s) tid %d reason code %d\n",
                        print_mac(mac, mgmt->sa),
-                       initiator ? "recipient" : "initiator", tid,
+                       initiator ? "initiator" : "recipient", tid,
                        mgmt->u.action.u.delba.reason_code);
 #endif /* CONFIG_MAC80211_HT_DEBUG */