linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hostapd: adjust for changed nl80211
@ 2007-09-29 12:37 Johannes Berg
  2007-10-03  3:09 ` Jouni Malinen
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Berg @ 2007-09-29 12:37 UTC (permalink / raw)
  To: Jouni Malinen; +Cc: linux-wireless

Before pushing nl80211 into mainline I cleaned it up
and made it more object oriented. This led to a rename
of some things hostapd is already using, so it needs
to be adjusted.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

---
 hostapd/driver_devicescape.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- hostap.orig/hostapd/driver_devicescape.c	2007-09-26 14:43:47.000000000 +0200
+++ hostap/hostapd/driver_devicescape.c	2007-09-26 14:43:48.000000000 +0200
@@ -783,7 +783,7 @@ static void nl80211_remove_iface(struct 
 		goto nla_put_failure;
 
 	genlmsg_put(msg, 0, 0, genl_family_get_id(drv->nl80211), 0,
-		    0, NL80211_CMD_DEL_VIRTUAL_INTERFACE, 0);
+		    0, NL80211_CMD_DEL_INTERFACE, 0);
 	NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, ifidx);
 	if (nl_send_auto_complete(drv->nl_handle, msg) < 0 ||
 	    nl_wait_for_ack(drv->nl_handle) < 0)
@@ -808,7 +808,7 @@ static int nl80211_create_iface(struct i
 		return -1;
 
 	genlmsg_put(msg, 0, 0, genl_family_get_id(drv->nl80211), 0,
-		    0, NL80211_CMD_ADD_VIRTUAL_INTERFACE, 0);
+		    0, NL80211_CMD_NEW_INTERFACE, 0);
 	NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX,
 		    if_nametoindex(drv->hapd->conf->iface));
 	NLA_PUT_STRING(msg, NL80211_ATTR_IFNAME, ifname);



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-10-04 18:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-29 12:37 [PATCH] hostapd: adjust for changed nl80211 Johannes Berg
2007-10-03  3:09 ` Jouni Malinen
2007-10-03  6:46   ` Johannes Berg
2007-10-04  4:09     ` Jouni Malinen
2007-10-04 13:08       ` John W. Linville
2007-10-04 18:04         ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).