mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 21:44:34 +01:00
really minor cleanup
sc is set to ifp->if_softc so use it..
This commit is contained in:
parent
c139dc1fcf
commit
db03b748e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22557
@ -2639,7 +2639,7 @@ ed_ioctl(ifp, command, data)
|
||||
*/
|
||||
if (ifp->if_flags & IFF_UP) {
|
||||
if ((ifp->if_flags & IFF_RUNNING) == 0)
|
||||
ed_init(ifp->if_softc);
|
||||
ed_init(sc);
|
||||
} else {
|
||||
if (ifp->if_flags & IFF_RUNNING) {
|
||||
ed_stop(sc);
|
||||
|
@ -2639,7 +2639,7 @@ ed_ioctl(ifp, command, data)
|
||||
*/
|
||||
if (ifp->if_flags & IFF_UP) {
|
||||
if ((ifp->if_flags & IFF_RUNNING) == 0)
|
||||
ed_init(ifp->if_softc);
|
||||
ed_init(sc);
|
||||
} else {
|
||||
if (ifp->if_flags & IFF_RUNNING) {
|
||||
ed_stop(sc);
|
||||
|
Loading…
Reference in New Issue
Block a user