aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43legacy
diff options
context:
space:
mode:
authorChristoph Egger <siccegge@stud.informatik.uni-erlangen.de>2010-01-13 08:36:24 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-14 18:16:54 -0500
commit2f1f00fc9b477481ad5c63976385c345851fee3d (patch)
treedfccb2381af067f0fb0077c1143af0c8b846a86e /drivers/net/wireless/b43legacy
parentececeecee8c60be96368bcc416057f38822012df (diff)
Remove config option B43_LEGACY_RFKILL completely
In f41f3f373dd72344c65d801d6381fe83ef3a2c54 the B43 driver was ported to use the cfg80211 API for rfkill and consequently the config option was dropped (RFKILL is now unconditionally enabled). However in the Kernel Info the feature is still checked and reported missing. This patch just removes the conditional and the relevant code blocks while still reporting that feature unconditionally would be another option (it's always there). Signed-off-by: Christoph Egger <siccegge@stud.informatik.uni-erlangen.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43legacy')
-rw-r--r--drivers/net/wireless/b43legacy/main.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c
index 9e268b6240fb..174ac6bde2b1 100644
--- a/drivers/net/wireless/b43legacy/main.c
+++ b/drivers/net/wireless/b43legacy/main.c
@@ -3962,7 +3962,7 @@ static struct ssb_driver b43legacy_ssb_driver = {
3962 3962
3963static void b43legacy_print_driverinfo(void) 3963static void b43legacy_print_driverinfo(void)
3964{ 3964{
3965 const char *feat_pci = "", *feat_leds = "", *feat_rfkill = "", 3965 const char *feat_pci = "", *feat_leds = "",
3966 *feat_pio = "", *feat_dma = ""; 3966 *feat_pio = "", *feat_dma = "";
3967 3967
3968#ifdef CONFIG_B43LEGACY_PCI_AUTOSELECT 3968#ifdef CONFIG_B43LEGACY_PCI_AUTOSELECT
@@ -3971,9 +3971,6 @@ static void b43legacy_print_driverinfo(void)
3971#ifdef CONFIG_B43LEGACY_LEDS 3971#ifdef CONFIG_B43LEGACY_LEDS
3972 feat_leds = "L"; 3972 feat_leds = "L";
3973#endif 3973#endif
3974#ifdef CONFIG_B43LEGACY_RFKILL
3975 feat_rfkill = "R";
3976#endif
3977#ifdef CONFIG_B43LEGACY_PIO 3974#ifdef CONFIG_B43LEGACY_PIO
3978 feat_pio = "I"; 3975 feat_pio = "I";
3979#endif 3976#endif
@@ -3981,9 +3978,9 @@ static void b43legacy_print_driverinfo(void)
3981 feat_dma = "D"; 3978 feat_dma = "D";
3982#endif 3979#endif
3983 printk(KERN_INFO "Broadcom 43xx-legacy driver loaded " 3980 printk(KERN_INFO "Broadcom 43xx-legacy driver loaded "
3984 "[ Features: %s%s%s%s%s, Firmware-ID: " 3981 "[ Features: %s%s%s%s, Firmware-ID: "
3985 B43legacy_SUPPORTED_FIRMWARE_ID " ]\n", 3982 B43legacy_SUPPORTED_FIRMWARE_ID " ]\n",
3986 feat_pci, feat_leds, feat_rfkill, feat_pio, feat_dma); 3983 feat_pci, feat_leds, feat_pio, feat_dma);
3987} 3984}
3988 3985
3989static int __init b43legacy_init(void) 3986static int __init b43legacy_init(void)