Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/wpa/dist/src/drivers wpa_supplicant dropped the...
details: https://anonhg.NetBSD.org/src/rev/91cf8e5f9faf
branches: trunk
changeset: 813170:91cf8e5f9faf
user: roy <roy%NetBSD.org@localhost>
date: Tue Jan 19 18:09:09 2016 +0000
description:
wpa_supplicant dropped the -w option a long time ago, lets not pretend
it still works.
diffstat:
external/bsd/wpa/dist/src/drivers/driver_bsd.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (26 lines):
diff -r bb1eb7c60fe9 -r 91cf8e5f9faf external/bsd/wpa/dist/src/drivers/driver_bsd.c
--- a/external/bsd/wpa/dist/src/drivers/driver_bsd.c Tue Jan 19 17:22:57 2016 +0000
+++ b/external/bsd/wpa/dist/src/drivers/driver_bsd.c Tue Jan 19 18:09:09 2016 +0000
@@ -1228,20 +1228,16 @@
switch (ifan->ifan_what) {
case IFAN_DEPARTURE:
event.interface_status.ievent = EVENT_INTERFACE_REMOVED;
+ break;
default:
-#if 1
- event.interface_status.ievent = EVENT_INTERFACE_ADDED;
- break;
-#else
return;
-#endif
}
wpa_printf(MSG_DEBUG, "RTM_IFANNOUNCE: Interface '%s' %s",
event.interface_status.ifname,
ifan->ifan_what == IFAN_DEPARTURE ?
"removed" : "added");
wpa_supplicant_event(drv->ctx, EVENT_INTERFACE_STATUS, &event);
- return;
+ break;
case RTM_IEEE80211:
ifan = (struct if_announcemsghdr *) rtm;
drv = bsd_get_drvindex(global, ifan->ifan_index);
Home |
Main Index |
Thread Index |
Old Index