Patchwork [Consolidated,Pull,12/17] busybox: Add check for wifi/bluetooth to enable rfkill

login
register
mail settings
Submitter Saul Wold
Date June 14, 2012, 7:27 p.m.
Message ID <c22457e656b99e2b014092c315ec8219e8d0181c.1339701375.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/29869/
State New
Headers show

Comments

Saul Wold - June 14, 2012, 7:27 p.m.
rfkill is a usefull tool when you have a device with bluetooth and wifi enabled

[YOCTO #2494]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-core/busybox/busybox.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 5b83d32..db337ad 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -57,6 +57,8 @@  def features_to_busybox_settings(d):
 	busybox_cfg('nls',  distro_features, 'CONFIG_LOCALE_SUPPORT', cnf, rem)
 	busybox_cfg('ipv4', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV4', cnf, rem)
 	busybox_cfg('ipv6', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV6', cnf, rem)
+	busybox_cfg('wifi', distro_features, 'CONFIG_RFKILL', cnf, rem)
+	busybox_cfg('bluetooth', distro_features, 'CONFIG_RFKILL', cnf, rem)
 	return "\n".join(cnf), "\n".join(rem)
 
 # X, Y = ${@features_to_uclibc_settings(d)}