]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: ozwpan: Set AC_VO priority
authorRupesh Gujare <rgujare@ozmodevices.com>
Wed, 20 Jun 2012 12:36:11 +0000 (13:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2012 23:05:35 +0000 (16:05 -0700)
Set packet priority to AC_VO for audio data.

Signed-off-by: Rupesh Gujare <rgujare@ozmodevices.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozpd.c

index 25a8a08586d6ec80f43ee1e110fae4e357d748c5..6c287ac6eaeafba2d04529076736ad542e582f0b 100644 (file)
@@ -815,6 +815,8 @@ int oz_send_isoc_unit(struct oz_pd *pd, u8 ep_num, u8 *data, int len)
                skb_reset_network_header(skb);
                skb->dev = dev;
                skb->protocol = htons(OZ_ETHERTYPE);
+               /* For audio packet set priority to AC_VO */
+               skb->priority = 0x7;
                size = sizeof(struct oz_hdr) + sizeof(struct oz_isoc_large);
                oz_hdr = (struct oz_hdr *)skb_put(skb, size);
        }