Use strcasecmp() from libkern.
This commit is contained in:
parent
2663c8855e
commit
93caf77f95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168423
@ -131,8 +131,8 @@ ndis_devcompare(bustype, t, dev)
|
||||
return(FALSE);
|
||||
|
||||
while(t->ndis_name != NULL) {
|
||||
if (ndis_strcasecmp(vendstr, t->ndis_vid) == 0 &&
|
||||
ndis_strcasecmp(prodstr, t->ndis_did) == 0) {
|
||||
if (strcasecmp(vendstr, t->ndis_vid) == 0 &&
|
||||
strcasecmp(prodstr, t->ndis_did) == 0) {
|
||||
device_set_desc(dev, t->ndis_name);
|
||||
return(TRUE);
|
||||
}
|
||||
@ -237,8 +237,8 @@ ndis_attach_pccard(dev)
|
||||
return(error);
|
||||
|
||||
while(t->ndis_name != NULL) {
|
||||
if (ndis_strcasecmp(vendstr, t->ndis_vid) == 0 &&
|
||||
ndis_strcasecmp(prodstr, t->ndis_did) == 0)
|
||||
if (strcasecmp(vendstr, t->ndis_vid) == 0 &&
|
||||
strcasecmp(prodstr, t->ndis_did) == 0)
|
||||
break;
|
||||
t++;
|
||||
devidx++;
|
||||
|
Loading…
Reference in New Issue
Block a user