diff options
author | sam <sam@FreeBSD.org> | 2003-01-20 19:46:46 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-01-20 19:46:46 +0000 |
commit | 6f645b3f273536aa23ba04649f6bf70b690b5301 (patch) | |
tree | 292ff91a2e836c9a327fa8c9fd164d8d9bc54699 /usr.sbin/wicontrol | |
parent | e1a678dcf9353a57cbeb764dd7d9f80804ee9010 (diff) | |
download | FreeBSD-src-6f645b3f273536aa23ba04649f6bf70b690b5301.zip FreeBSD-src-6f645b3f273536aa23ba04649f6bf70b690b5301.tar.gz |
fix -L (scan ap's): use WI_RID_SCAN_APS instead of WI_RDI_SCAN_REQ to start
a scan so the driver can use the best/right op for the card
Diffstat (limited to 'usr.sbin/wicontrol')
-rw-r--r-- | usr.sbin/wicontrol/wicontrol.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.sbin/wicontrol/wicontrol.c b/usr.sbin/wicontrol/wicontrol.c index ce16311..586450d 100644 --- a/usr.sbin/wicontrol/wicontrol.c +++ b/usr.sbin/wicontrol/wicontrol.c @@ -514,13 +514,8 @@ wi_printaplist(const char *iface) prism2 = wreq.wi_val[0]; /* send out a scan request */ - wreq.wi_len = prism2 ? 3 : 1; - wreq.wi_type = WI_RID_SCAN_REQ; - - if (prism2) { - wreq.wi_val[0] = 0x3FFF; - wreq.wi_val[1] = 0x000F; - } + wreq.wi_len = 1; + wreq.wi_type = WI_RID_SCAN_APS; wi_setval(iface, &wreq); |