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 25a8a08..6c287ac 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);
        }