author | max <max> | 2003-02-16 20:05:29 (UTC) |
---|---|---|
committer | max <max> | 2003-02-16 20:05:29 (UTC) |
commit | 0a64464dc16e6167402590ea8c30d9d56d9e5c3f (patch) (side-by-side diff) | |
tree | 9206bddf8c8815ae35d549adb7eec132e9f38203 /noncore/net | |
parent | 6c22cd2b118a10fe860c429b5ea012aaf0b99c22 (diff) | |
download | opie-0a64464dc16e6167402590ea8c30d9d56d9e5c3f.zip opie-0a64464dc16e6167402590ea8c30d9d56d9e5c3f.tar.gz opie-0a64464dc16e6167402590ea8c30d9d56d9e5c3f.tar.bz2 |
Fixed hostap driver < wireless extension 14
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc index a57645b..d385df4 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc +++ b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.cc @@ -90,7 +90,7 @@ int card_into_monitormode (pcap_t **orighandle, const char *device, int cardtype // This is the monitor mode for 802.11 non-prism header ptr[0] = 2; strcpy(ireq.ifr_ifrn.ifrn_name, device); - if (ioctl( fd, SIOCIWFIRSTPRIV + 4, &ireq)==0) + if (ioctl( fd, SIOCDEVPRIVATE, &ireq)==0) { /* All was fine... */ close(fd); |