Added mtaylor's suggested file descriptor close.
This commit is contained in:
parent
75d138b068
commit
d9a43abf87
1
CHANGES
1
CHANGES
|
@ -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
1
THANKS
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue