[PATCH 4/4] wpa_supplicant: Remove WPA_DRIVER_FLAGS_MULTI_CHANNEL_CONCURRENT

Ilan Peer ilan.peer
Tue Jul 16 23:32:26 PDT 2013


And mark this flag as unused

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

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;
 	}
-- 
1.7.10.4




More information about the Hostap mailing list