really minor cleanup
sc is set to ifp->if_softc so use it..
This commit is contained in:
parent
73d6ab51ee
commit
b139405b95
@ -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