QCA vendor command support to set band to driver
[mech_eap.git] / wpa_supplicant / driver_i.h
index 1fcb180..d1f9f8b 100644 (file)
@@ -885,4 +885,12 @@ static inline int wpa_drv_disable_transmit_sa(struct wpa_supplicant *wpa_s,
 }
 #endif /* CONFIG_MACSEC */
 
+static inline int wpa_drv_setband(struct wpa_supplicant *wpa_s,
+                                 enum set_band band)
+{
+       if (!wpa_s->driver->set_band)
+               return -1;
+       return wpa_s->driver->set_band(wpa_s->drv_priv, band);
+}
+
 #endif /* DRIVER_I_H */