staging: rtl8723au: set_qos() keep userpriority in a u8
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:04:18 +0000 (15:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:12:02 +0000 (13:12 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_xmit.c

index 2e50898..36830be 100644 (file)
@@ -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) {