Added mtaylor's suggested file descriptor close.

This commit is contained in:
mark 2001-12-12 15:46:49 +00:00
parent 75d138b068
commit d9a43abf87
3 changed files with 4 additions and 0 deletions

View file

@ -42,6 +42,7 @@
*
* --------------------------------------------------------------------
0.1.12
- Added mtaylor's suggested close() to do_ioctl() in wlanctl.
- Added mkarmak's suggested change for the GL24110P device ID as
PCI_DEVICE_GL24110P_ALT and an additional item in the device table
for PLX devices.

1
THANKS
View file

@ -58,6 +58,7 @@ Jim Suhr <jimrsuhr@earthlink.net>
Vragor <vragor@home.com>
Chris Rankin <rankinc@pacbell.net>
Michael Carmack <karmak@karmak.org>
Mark Taylor <mt@mp3dev.org>
[Many, many more. If I've overlooked you and you want to be listed here,
send me e-mail and I'll fix it. I _know_ a bunch of linux-wlan contributors

View file

@ -51,6 +51,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
/* Ugly hack for LinuxPPC R4, don't have time to figure it out right now */
#if defined(__WLAN_PPC__)
@ -226,6 +227,7 @@ int do_ioctl( UINT8 *msg, UINT32 msgcode )
if ( result == -1 ) {
perror("wlanctl-ng");
}
close(fd);
return result;
}