diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-08-08 18:53:11 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-08-08 18:53:11 +0000 |
commit | 7523475543ac033d44426cc3af0dbf3f0422a0dc (patch) | |
tree | fbb080c1abbb630c0fbee934608a193880b4e265 /usr.bin | |
parent | 3ab565ae63338bb08ec083b022f2841b1a22728c (diff) |
Fix IFF_PROMISC setting optimization. The point is to avoid the
wi_init() if only IFF_PROMISC status has changed. There is no need
to change anything if we are in HostAP mode since wi_init() has
already turned off the hardware promisc bit when we entered HostAP
(HostAP already implies promisc behavior).
Noticed by imp@, OK by mickey@
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions