diff options
Diffstat (limited to 'community/wavemon/use-atexit.patch')
-rw-r--r-- | community/wavemon/use-atexit.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/community/wavemon/use-atexit.patch b/community/wavemon/use-atexit.patch deleted file mode 100644 index 0b135f21c0..0000000000 --- a/community/wavemon/use-atexit.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/iw_scan.c b/iw_scan.c -index 18e9e06..92350ca 100644 ---- a/iw_scan.c -+++ b/iw_scan.c -@@ -430,7 +430,7 @@ void *do_scan(void *sr_ptr) - - if (if_set_up(conf_ifname()) < 0) - err_sys("Can not bring up interface '%s'", conf_ifname()); -- if (on_exit(if_set_down_on_exit, (void *)conf_ifname()) < 0) -+ if (atexit(if_set_down_on_exit)) - snprintf(sr->msg, sizeof(sr->msg), "Warning: unable to restore %s down state on exit", conf_ifname()); - break; - } - |