aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/p54/lmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/p54/lmac.h')
-rw-r--r--drivers/net/wireless/p54/lmac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/lmac.h b/drivers/net/wireless/p54/lmac.h
index af35cfcd4fe..04b63ec80fa 100644
--- a/drivers/net/wireless/p54/lmac.h
+++ b/drivers/net/wireless/p54/lmac.h
@@ -98,6 +98,10 @@ struct p54_hdr {
(!((((struct p54_hdr *) ((struct sk_buff *) skb)->data)-> \
flags) & cpu_to_le16(P54_HDR_FLAG_CONTROL)))
+#define GET_HW_QUEUE(skb) \
+ (((struct p54_tx_data *)((struct p54_hdr *) \
+ skb->data)->data)->hw_queue)
+
/*
* shared interface ID definitions
* The interface ID is a unique identification of a specific interface.