Return-path: Received: from mail-ey0-f174.google.com ([209.85.215.174]:34463 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753039Ab1HQD2x (ORCPT ); Tue, 16 Aug 2011 23:28:53 -0400 MIME-Version: 1.0 From: Pavel Ivanov Date: Tue, 16 Aug 2011 23:28:22 -0400 Message-ID: (sfid-20110817_052912_694212_46D2CB99) Subject: [PATCH] ath9k: make driver usable standalone To: "Luis R. Rodriguez" , Jouni Malinen , Vasanthakumar Thiagarajan , Senthil Balasubramanian Cc: linux-wireless@vger.kernel.org, ath9k-devel@lists.ath9k.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: When ath9k is the only wireless driver included in the build WIRELESS_EXT configuration option becomes undefined. Because of that driver becomes essentially unusable as you can't actually connect to any WiFi network. By including WIRELESS_EXT into Kconfig we ensure that build with ath9k and without other drivers (having WIRELESS_EXT selected in their Kconfig) is actually usable. Signed-off-by: Pavel Ivanov --- diff --git a/drivers/net/wireless/ath/ath9k/Kconfig b/drivers/net/wireless/ath/ath9k/Kconfig index d9c08c6..2573f77 100644 --- a/drivers/net/wireless/ath/ath9k/Kconfig +++ b/drivers/net/wireless/ath/ath9k/Kconfig @@ -11,6 +11,7 @@ config ATH9K select LEDS_CLASS select NEW_LEDS select ATH9K_COMMON + select WIRELESS_EXT ---help--- This module adds support for wireless adapters based on Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family