summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Bansal <rbansal@nvidia.com>2011-03-17 00:59:51 +0530
committerVarun Colbert <vcolbert@nvidia.com>2011-03-28 23:48:47 -0700
commit04dd4dc82b0960ff95c3adc58c07da3ce699a67f (patch)
tree0e4f8bd52194bcc4e2e74c227ac16551672edf76
parentb42cce8710bef378af433b7f06a8501128fc1a87 (diff)
net: wireless: bcm4329: Fix delayed scan list after wifi turn-on.
Initiate broadcast scan (active scan) just after initializing with network interface. BUG 781501 Change-Id: I6c9bc7b458fff604c12ea3c94c4d4a5255b3bb91 Reviewed-on: http://git-master/r/23216 Reviewed-by: Rahul Bansal <rbansal@nvidia.com> Tested-by: Rahul Bansal <rbansal@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
-rw-r--r--drivers/net/wireless/bcm4329/Kconfig8
-rw-r--r--drivers/net/wireless/bcm4329/Makefile5
2 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcm4329/Kconfig b/drivers/net/wireless/bcm4329/Kconfig
index 0f07a7847acd..79d701b698e1 100644
--- a/drivers/net/wireless/bcm4329/Kconfig
+++ b/drivers/net/wireless/bcm4329/Kconfig
@@ -12,6 +12,14 @@ config BCM4329
If you choose to build a module, it'll be called dhd. Say M if
unsure.
+config BCM4329_FIRST_SCAN
+ depends on BCM4329
+ bool "first scan support"
+ default n
+ ---help---
+ Initiate broadcast scan (active scan) just after
+ initializing with network interface.
+
config BCM4329_FW_PATH
depends on BCM4329
string "Firmware path"
diff --git a/drivers/net/wireless/bcm4329/Makefile b/drivers/net/wireless/bcm4329/Makefile
index 29ae4812f81e..889a55490200 100644
--- a/drivers/net/wireless/bcm4329/Makefile
+++ b/drivers/net/wireless/bcm4329/Makefile
@@ -12,6 +12,11 @@ DHDCFLAGS = -DLINUX -DBCMDRIVER -DBCMDONGLEHOST -DDHDTHREAD -DBCMWPA2 \
ifeq ($(CONFIG_BCM4329_WIFI_CONTROL_FUNC),y)
DHDCFLAGS += -DCONFIG_WIFI_CONTROL_FUNC
endif
+
+ifeq ($(CONFIG_BCM4329_FIRST_SCAN),y)
+DHDCFLAGS += -DCONFIG_FIRST_SCAN
+endif
+
ifeq ($(CONFIG_BCM4329_DHD_USE_STATIC_BUF),y)
DHDCFLAGS += -DDHD_USE_STATIC_BUF
endif