summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-01-28 00:28:22 +0000
committerimp <imp@FreeBSD.org>2005-01-28 00:28:22 +0000
commit83ff245674966bd02fc26997d1be7982caa5c91d (patch)
tree6a629b6631b90b106f73e3941dbd5da95222deee /sys
parent2fd1a0c45becb94b02573647b349e6588b606c68 (diff)
downloadFreeBSD-src-83ff245674966bd02fc26997d1be7982caa5c91d.zip
FreeBSD-src-83ff245674966bd02fc26997d1be7982caa5c91d.tar.gz
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/cs/if_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cs/if_cs.c b/sys/dev/cs/if_cs.c
index 01f4d7b..8cfb7cb 100644
--- a/sys/dev/cs/if_cs.c
+++ b/sys/dev/cs/if_cs.c
@@ -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;
}
OpenPOWER on IntegriCloud