From: Rupesh Gujare Date: Wed, 20 Jun 2012 12:36:11 +0000 (+0100) Subject: staging: ozwpan: Set AC_VO priority X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=86c948b4416b4c2c064d6c7e15476afbc04e2bf5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: ozwpan: Set AC_VO priority Set packet priority to AC_VO for audio data. Signed-off-by: Rupesh Gujare Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ozwpan/ozpd.c b/drivers/staging/ozwpan/ozpd.c index 25a8a08586d6..6c287ac6eaea 100644 --- a/drivers/staging/ozwpan/ozpd.c +++ b/drivers/staging/ozwpan/ozpd.c @@ -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); }