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

Submitted by michael-dev@fami-braun.de on July 27, 2013, 4:10 p.m.

Details

Message ID 20130727161042.1152.64767.stgit@ray-controller
State Superseded
Headers show

Commit Message

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 hide | download patch | download mbox

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;