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>
This commit is contained in:
Jes Sorensen 2014-05-09 15:04:18 +02:00 committed by Greg Kroah-Hartman
parent d7f2c23adf
commit c06209d948

View 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) {