projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c77bb61
)
Removed dead code
author
Jouni Malinen
<j@w1.fi>
Tue, 13 Jan 2009 17:15:42 +0000
(19:15 +0200)
committer
Jouni Malinen
<j@w1.fi>
Tue, 13 Jan 2009 17:15:42 +0000
(19:15 +0200)
hostapd/driver_nl80211.c
patch
|
blob
|
history
diff --git
a/hostapd/driver_nl80211.c
b/hostapd/driver_nl80211.c
index
a2d537a
..
508a379
100644
(file)
--- a/
hostapd/driver_nl80211.c
+++ b/
hostapd/driver_nl80211.c
@@
-1962,8
+1962,6
@@
static int i802_init_sockets(struct i802_driver_data *drv, const u8 *bssid)
struct ifreq ifr;
struct sockaddr_ll addr;
- drv->ioctl_sock = -1;
-
drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0);
if (drv->ioctl_sock < 0) {
perror("socket[PF_INET,SOCK_DGRAM]");