aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorDenis Joseph Barrow <D.Barow@option.com>2009-01-13 00:56:49 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-13 00:56:49 -0500
commitb74f62c1e736ea01c660355526dd54132d241ca9 (patch)
tree018a7a08cd2cce09b7a91d47804c3b8f4a2db25e /drivers/net/usb
parenta73be040650463eacb95f83d2e6673ac57b4fc59 (diff)
hso: driver fix for big endian machines.
Filip Aben says this fix is neccessary for big endian machines. Signed-off-by: Denis Joseph Barrow <D.Barow@option.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r--drivers/net/usb/hso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c
index c4918b86ed19..d17dc5214c9a 100644
--- a/drivers/net/usb/hso.c
+++ b/drivers/net/usb/hso.c
@@ -1792,8 +1792,8 @@ static int mux_device_request(struct hso_serial *serial, u8 type, u16 port,
1792 1792
1793 /* initialize */ 1793 /* initialize */
1794 ctrl_req->wValue = 0; 1794 ctrl_req->wValue = 0;
1795 ctrl_req->wIndex = hso_port_to_mux(port); 1795 ctrl_req->wIndex = cpu_to_le16(hso_port_to_mux(port));
1796 ctrl_req->wLength = size; 1796 ctrl_req->wLength = cpu_to_le16(size);
1797 1797
1798 if (type == USB_CDC_GET_ENCAPSULATED_RESPONSE) { 1798 if (type == USB_CDC_GET_ENCAPSULATED_RESPONSE) {
1799 /* Reading command */ 1799 /* Reading command */