summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2014-05-09 15:04:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-15 13:12:02 -0700
commitc06209d9489e43803bcb49c8f814e4799b1e128c (patch)
treecc90355d02d9505ddd070147fe37025b1b1072e8
parentd7f2c23adf3b299680046041d87cbf900505e380 (diff)
staging: rtl8723au: set_qos() keep userpriority in a u8
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723au/core/rtw_xmit.c2
1 files changed, 1 insertions, 1 deletions
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) {