mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
V4L/DVB (11812): Siano: smsusb - add big endian support
Add support for big endien target hosts, which use USB interface. Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
57594a586f
commit
9c9c68a8c0
@ -73,6 +73,7 @@ static void smsusb_onresponse(struct urb *urb)
|
||||
if (urb->actual_length > 0) {
|
||||
struct SmsMsgHdr_ST *phdr = (struct SmsMsgHdr_ST *) surb->cb->p;
|
||||
|
||||
smsendian_handle_message_header(phdr);
|
||||
if (urb->actual_length >= phdr->msgLength) {
|
||||
surb->cb->size = phdr->msgLength;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user