1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

error = is needed before ether_ioctl() so that unsupported/unknown

IOCLTs are properly handled.  This gets the cs driver properly
reporting things via ifconfig.

# my pccard still doesn't work.
This commit is contained in:
Warner Losh 2005-01-28 00:28:22 +00:00
parent c0604e27a8
commit c1195b0646
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140921

View File

@ -1151,7 +1151,7 @@ cs_ioctl(register struct ifnet *ifp, u_long command, caddr_t data)
break;
default:
ether_ioctl(ifp, command, data);
error = ether_ioctl(ifp, command, data);
break;
}