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

login
register
mail settings
Submitter michael-dev@fami-braun.de
Date July 27, 2013, 4:10 p.m.
Message ID <20130727161042.1152.64767.stgit@ray-controller>
Download mbox | patch
Permalink /patch/262468/
State Superseded
Headers show

Comments

michael-dev@fami-braun.de - July 27, 2013, 4:10 p.m.
Signed-hostap: Michael Braun <michael-dev@fami-braun.de>
---
 src/ap/ap_drv_ops.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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;