diff options
Diffstat (limited to 'contrib/package/iwinfo/src/iwinfo_wl.c')
-rw-r--r-- | contrib/package/iwinfo/src/iwinfo_wl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/package/iwinfo/src/iwinfo_wl.c b/contrib/package/iwinfo/src/iwinfo_wl.c index 81df81faf..cb778fe3d 100644 --- a/contrib/package/iwinfo/src/iwinfo_wl.c +++ b/contrib/package/iwinfo/src/iwinfo_wl.c @@ -75,6 +75,12 @@ int wl_probe(const char *ifname) return 0; } +void wl_close(void) +{ + if( ioctl_socket > -1 ) + close(ioctl_socket); +} + int wl_get_mode(const char *ifname, char *buf) { int ret = -1; |