usbnet: Fix data transfer issue for website browsing
pyu [Tue, 13 Sep 2011 07:41:19 +0000 (15:41 +0800)]
The parameter of NET_IP_ETHERTYPE needs to be configured correctly
for ethernet header and then can transfer data properly.

BUG 870395

Reviewed-on: http://git-master/r/51986
(cherry picked from commit 89bf27954e890e11a11ce45b12fcfce68ad0a45c)

Change-Id: I95c81b73072fe0c64b7cc7fcee0a2a6857969500
Reviewed-on: http://git-master/r/59103
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R512dbe7fc37c82dc158ca933ea78fd04b3366821

drivers/net/usb/raw_ip_net.c

index b9f5d72..abb060b 100644 (file)
@@ -33,7 +33,7 @@
 #define BASEBAND_USB_NET_DEV_NAME              "rmnet%d"
 
 /* ethernet packet ethertype for IP packets */
-#define NET_IP_ETHERTYPE               (0x08, 0x00)
+#define NET_IP_ETHERTYPE               0x08, 0x00
 
 #define        TX_TIMEOUT              10