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
This commit is contained in:
parent
fa15ece030
commit
86209e4f24
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109586
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user