aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/main_usb.c
diff options
context:
space:
mode:
authorJim Lieb <lieb@canonical.com>2009-07-23 20:22:42 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 15:02:07 -0400
commitd899d403862863cf2230432e18e7b294a517fd96 (patch)
tree1bf430371adb954ce3bfbfb1ad253835aee72162 /drivers/staging/vt6656/main_usb.c
parentdb6cb9036b2756c50efc43127c476786ea92eae2 (diff)
Staging: vt665x: 64bit compile fixes Part 2
Fix compile problems with 64bit. These issues could cause corrupted address crashes. Cleanup definition use to use more portable kernel typedefs etc. Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/main_usb.c')
-rw-r--r--drivers/staging/vt6656/main_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index 7e40ceb7f57..6fd894ae5c8 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
@@ -753,7 +753,7 @@ static BOOL device_release_WPADEV(PSDevice pDevice)
753 wpahdr->req_ie_len = 0; 753 wpahdr->req_ie_len = 0;
754 skb_put(pDevice->skb, sizeof(viawget_wpa_header)); 754 skb_put(pDevice->skb, sizeof(viawget_wpa_header));
755 pDevice->skb->dev = pDevice->wpadev; 755 pDevice->skb->dev = pDevice->wpadev;
756 pDevice->skb->mac_header = pDevice->skb->data; 756 skb_reset_mac_header(pDevice->skb);
757 pDevice->skb->pkt_type = PACKET_HOST; 757 pDevice->skb->pkt_type = PACKET_HOST;
758 pDevice->skb->protocol = htons(ETH_P_802_2); 758 pDevice->skb->protocol = htons(ETH_P_802_2);
759 memset(pDevice->skb->cb, 0, sizeof(pDevice->skb->cb)); 759 memset(pDevice->skb->cb, 0, sizeof(pDevice->skb->cb));