[PATCH v3 07/25] VLAN: Use new VLAN data type in src_ap_ap_drv_ops.h

Michael Braun michael-dev at fami-braun.de
Sat Jul 27 12:10:53 EDT 2013


Signed-hostap: Michael Braun <michael-dev at fami-braun.de>
---
 src/ap/ap_drv_ops.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ap/ap_drv_ops.h b/src/ap/ap_drv_ops.h
index cfc30ce..80c2e03 100644
--- a/src/ap/ap_drv_ops.h
+++ b/src/ap/ap_drv_ops.h
@@ -120,7 +120,7 @@ static inline int hostapd_drv_set_countermeasures(struct hostapd_data *hapd,
 
 static inline int hostapd_drv_set_sta_vlan(const char *ifname,
 					   struct hostapd_data *hapd,
-					   const u8 *addr, int vlan_id)
+					   const u8 *addr, vlan_t vlan_id)
 {
 	if (hapd->driver == NULL || hapd->driver->set_sta_vlan == NULL)
 		return 0;



More information about the HostAP mailing list