Remove bogus UNLOCK in if_wi.c. Since we no longer WILOCK() in the
attach routine, calling WIUNLOCK in the error case of one of the ifs for that routine is now bogus. This should have been removed when the WILOCK() was removed, but wasn't. Submitted by: "Harti Brandt" <brandt@fokus.fraunhofer.de>
This commit is contained in:
parent
a009cc2a40
commit
739804813b
@ -269,10 +269,8 @@ wi_attach(device_t dev)
|
||||
#endif
|
||||
|
||||
/* Reset the NIC. */
|
||||
if (wi_reset(sc) != 0) {
|
||||
WI_UNLOCK(sc);
|
||||
if (wi_reset(sc) != 0)
|
||||
return ENXIO; /* XXX */
|
||||
}
|
||||
|
||||
/*
|
||||
* Read the station address.
|
||||
|
Loading…
x
Reference in New Issue
Block a user