]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Remove unused WPA_DRIVER_FLAGS_MULTI_CHANNEL_CONCURRENT
authorIlan Peer <ilan.peer@intel.com>
Sun, 21 Jul 2013 17:51:01 +0000 (20:51 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 21 Jul 2013 17:52:09 +0000 (20:52 +0300)
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 <ilan.peer@intel.com>
Signed-hostap: David Spinadel <david.spinadel@intel.com>

src/drivers/driver.h
src/drivers/driver_nl80211.c

index e354c25fd6d86d8042f3afd45cc262cc69a73d57..d78bdd0b5d9743d9db3ed3ce9a3b6a7042bbd0fa 100644 (file)
@@ -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
index 1f51bb4c5629df2d265b7a78a467d2fc1de79a2c..83d4a236bb1000bf17942483b23b6c499cba13dd 100644 (file)
@@ -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;
        }