mac80211: fix reason code output endianness

When HT debugging is enabled and we receive a DelBA
frame we print out the reason code in the wrong byte
order. Fix that so we don't get weird values printed.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by Johannes Berg and committed by John W. Linville 372362ad 2171abc5

+1 -1
+1 -1
net/mac80211/ht.c
··· 153 if (net_ratelimit()) 154 printk(KERN_DEBUG "delba from %pM (%s) tid %d reason code %d\n", 155 mgmt->sa, initiator ? "initiator" : "recipient", tid, 156 - mgmt->u.action.u.delba.reason_code); 157 #endif /* CONFIG_MAC80211_HT_DEBUG */ 158 159 if (initiator == WLAN_BACK_INITIATOR)
··· 153 if (net_ratelimit()) 154 printk(KERN_DEBUG "delba from %pM (%s) tid %d reason code %d\n", 155 mgmt->sa, initiator ? "initiator" : "recipient", tid, 156 + le16_to_cpu(mgmt->u.action.u.delba.reason_code)); 157 #endif /* CONFIG_MAC80211_HT_DEBUG */ 158 159 if (initiator == WLAN_BACK_INITIATOR)