From c06209d9489e43803bcb49c8f814e4799b1e128c Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Fri, 9 May 2014 15:04:18 +0200 Subject: [PATCH] staging: rtl8723au: set_qos() keep userpriority in a u8 Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723au/core/rtw_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/core/rtw_xmit.c b/drivers/staging/rtl8723au/core/rtw_xmit.c index 2e508987009a..36830be314d1 100644 --- a/drivers/staging/rtl8723au/core/rtw_xmit.c +++ b/drivers/staging/rtl8723au/core/rtw_xmit.c @@ -404,7 +404,7 @@ static void set_qos(struct sk_buff *skb, struct pkt_attrib *pattrib) { u8 *pframe = skb->data; struct iphdr *ip_hdr; - s32 UserPriority = 0; + u8 UserPriority = 0; /* get UserPriority from IP hdr */ if (pattrib->ether_type == ETH_P_IP) { -- 2.39.5