summaryrefslogtreecommitdiff
path: root/recipes/udev/udev-hostap-cs-vcc-workaround_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/udev/udev-hostap-cs-vcc-workaround_1.0.bb')
-rw-r--r--recipes/udev/udev-hostap-cs-vcc-workaround_1.0.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/udev/udev-hostap-cs-vcc-workaround_1.0.bb b/recipes/udev/udev-hostap-cs-vcc-workaround_1.0.bb
new file mode 100644
index 0000000000..4076cb2dd6
--- /dev/null
+++ b/recipes/udev/udev-hostap-cs-vcc-workaround_1.0.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "A hack to force VCC to 5v for hostap_cs cards. This will fry your \
+card one sweet day."
+PR = "r1"
+
+SRC_URI = " file://50-hostap_cs.rules "
+
+do_install() {
+ install -d ${D}${sysconfdir}/udev/rules.d/
+ install -m 0644 ${WORKDIR}/50-hostap_cs.rules ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules
+}
+
+PACKAGE_ARCH = "all"