From 932659696e2755bb1ecd6a27e1968fd27eef4948 Mon Sep 17 00:00:00 2001 From: Ilan Peer Date: Sun, 21 Jul 2013 20:51:01 +0300 Subject: [PATCH] nl80211: Remove unused WPA_DRIVER_FLAGS_MULTI_CHANNEL_CONCURRENT This is not used anymore after the previous commits that changed the driver interface to use number of supported concurrent channels instead of this flag. Signed-hostap: Ilan Peer Signed-hostap: David Spinadel --- src/drivers/driver.h | 3 +-- src/drivers/driver_nl80211.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/drivers/driver.h b/src/drivers/driver.h index e354c25fd..d78bdd0b5 100644 --- a/src/drivers/driver.h +++ b/src/drivers/driver.h @@ -833,8 +833,7 @@ 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: 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 1f51bb4c5..83d4a236b 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -3250,7 +3250,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; }