summaryrefslogtreecommitdiff
path: root/packages/wifistix/wifistix-modules/bad-cast.patch
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2007-09-29 20:43:38 +0000
committerPhilip Balister <philip@balister.org>2007-09-29 20:43:38 +0000
commitea52a2ce713343961a660f74efd5fbff95668f94 (patch)
tree4c83af5a077ed985c6ac4c73f04995c29e56ab5f /packages/wifistix/wifistix-modules/bad-cast.patch
parent6feecb2942024a270c39b50d6892be3f421dcab6 (diff)
wifistix : Add driver for Marvell cf8385 wireless interface driver for gumstix.
Diffstat (limited to 'packages/wifistix/wifistix-modules/bad-cast.patch')
-rw-r--r--packages/wifistix/wifistix-modules/bad-cast.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/wifistix/wifistix-modules/bad-cast.patch b/packages/wifistix/wifistix-modules/bad-cast.patch
new file mode 100644
index 0000000000..5f4f48c27b
--- /dev/null
+++ b/packages/wifistix/wifistix-modules/bad-cast.patch
@@ -0,0 +1,13 @@
+Index: src_cf8385/wlan/wlan_wext.c
+===================================================================
+--- src_cf8385.orig/wlan/wlan_wext.c
++++ src_cf8385/wlan/wlan_wext.c
+@@ -1023,7 +1023,7 @@ static int wlan_txcontrol(wlan_private *
+ return -EFAULT;
+ }
+ copy_from_user(&data,wrq->u.data.pointer,sizeof(int));
+- (u32)Adapter->PktTxCtrl = data;
++ Adapter->PktTxCtrl = (u32)data;
+ }
+
+ wrq->u.data.length = 1;