Patchwork [4/4] wpa_supplicant: Remove WPA_DRIVER_FLAGS_MULTI_CHANNEL_CONCURRENT

login
register
mail settings
Submitter Ilan Peer
Date July 17, 2013, 6:32 a.m.
Message ID <1374042746-8001-5-git-send-email-ilan.peer@intel.com>
Download mbox | patch
Permalink /patch/259615/
State Accepted
Commit 932659696e2755bb1ecd6a27e1968fd27eef4948
Headers show

Comments

Ilan Peer - July 17, 2013, 6:32 a.m.
And mark this flag as unused

Signed-hostap: Ilan Peer <ilan.peer@intel.com>
Signed-hostap: David Spinadel <david.spinadel@intel.com>
---
 src/drivers/driver.h         |    4 ++--
 src/drivers/driver_nl80211.c |    1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

Patch

diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index 98bbdc1..bebebcc 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -832,8 +832,8 @@  struct wpa_driver_capa {
 #define WPA_DRIVER_FLAGS_P2P_DEDICATED_INTERFACE	0x00000400
 /* This interface is P2P capable (P2P GO or P2P Client) */
 #define WPA_DRIVER_FLAGS_P2P_CAPABLE	0x00000800
-/* Driver supports concurrent operations on multiple channels */
-#define WPA_DRIVER_FLAGS_MULTI_CHANNEL_CONCURRENT	0x00001000
+/* Unused flag */
+#define WPA_DRIVER_FLAGS_UNUSED	0x00001000
 /*
  * Driver uses the initial interface for P2P management interface and non-P2P
  * purposes (e.g., connect to infra AP), but this interface cannot be used for
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 26487b1..8b238ce 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -3242,7 +3242,6 @@  static int wpa_driver_nl80211_get_info(struct wpa_driver_nl80211_data *drv,
 	if (info->num_multichan_concurrent > 1) {
 		wpa_printf(MSG_DEBUG, "nl80211: Enable multi-channel "
 			   "concurrent (driver advertised support)");
-		drv->capa.flags |= WPA_DRIVER_FLAGS_MULTI_CHANNEL_CONCURRENT;
 		drv->capa.num_multichan_concurrent =
 			info->num_multichan_concurrent;
 	}