summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@openbossa.org>2008-05-13 10:39:56 -0300
committerRodrigo Vivi <rodrigo.vivi@openbossa.org>2008-10-23 17:35:51 -0300
commita1731d5a8bf3ff1fe34d4b7f13388321103f66ad (patch)
treeb6095279fc1df8f209da113da43262ceeae81c49 /packages
parent6a9d5b34d4ff55ec7b9e4417b653787f9ca48c3a (diff)
cx3110x: Creating sysfs link between device and interface wlan0.
Diffstat (limited to 'packages')
-rw-r--r--packages/mamona/cx3110x-0.8.1/create_sysfs_link_for_wlan0.patch11
-rw-r--r--packages/mamona/cx3110x-0.8.1/series1
-rw-r--r--packages/mamona/cx3110x_0.8.1.bb1
3 files changed, 13 insertions, 0 deletions
diff --git a/packages/mamona/cx3110x-0.8.1/create_sysfs_link_for_wlan0.patch b/packages/mamona/cx3110x-0.8.1/create_sysfs_link_for_wlan0.patch
new file mode 100644
index 0000000000..cf4fa1e96a
--- /dev/null
+++ b/packages/mamona/cx3110x-0.8.1/create_sysfs_link_for_wlan0.patch
@@ -0,0 +1,11 @@
+--- cx3110x-0.8.1.new/src/sm_drv_spi.c 2008-05-13 10:27:19.000000000 -0300
++++ cx3110x-0.8.1/src/sm_drv_spi.c 2008-05-12 19:02:16.000000000 -0300
+@@ -1067,6 +1067,8 @@
+ goto err_out_4;
+ }
+
++ SET_NETDEV_DEV(dev, &wlan_omap_device.dev);
++
+ register_netdev(dev);
+
+ /* Let's fetch the firmware from userspace */
diff --git a/packages/mamona/cx3110x-0.8.1/series b/packages/mamona/cx3110x-0.8.1/series
index 1ec63e242a..fa690cb729 100644
--- a/packages/mamona/cx3110x-0.8.1/series
+++ b/packages/mamona/cx3110x-0.8.1/series
@@ -4,3 +4,4 @@ cx3110x.patch
fix_cross_makefile.patch
fix_ssid_data_length.patch
770_performance_improvements.patch
+create_sysfs_link_for_wlan0.patch
diff --git a/packages/mamona/cx3110x_0.8.1.bb b/packages/mamona/cx3110x_0.8.1.bb
index 286b5a13c5..f548bca0aa 100644
--- a/packages/mamona/cx3110x_0.8.1.bb
+++ b/packages/mamona/cx3110x_0.8.1.bb
@@ -19,6 +19,7 @@ SRC_URI = "https://garage.maemo.org/frs/download.php/2443/cx3110x-0.8.1.tar.gz \
file://fix_cross_makefile.patch;patch=1 \
file://fix_ssid_data_length.patch;patch=1 \
file://770_performance_improvements.patch;patch=1 \
+ file://create_sysfs_link_for_wlan0.patch;patch=1 \
"
# add service file