diff options
author | Rupesh Gujare <rgujare@ozmodevices.com> | 2012-06-20 13:36:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-20 16:05:35 -0700 |
commit | 86c948b4416b4c2c064d6c7e15476afbc04e2bf5 (patch) | |
tree | a267c62c9c1aa9b4645d79db026db7be9bb30026 /drivers/staging/ozwpan | |
parent | 6261c1ee6c84290ff89cc2271b9ec634006e53b7 (diff) | |
download | blackbird-op-linux-86c948b4416b4c2c064d6c7e15476afbc04e2bf5.tar.gz blackbird-op-linux-86c948b4416b4c2c064d6c7e15476afbc04e2bf5.zip |
staging: ozwpan: Set AC_VO priority
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>
Diffstat (limited to 'drivers/staging/ozwpan')
-rw-r--r-- | drivers/staging/ozwpan/ozpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |