summaryrefslogtreecommitdiff
path: root/sys/dev/etherswitch
diff options
context:
space:
mode:
authorAleksandr Rybalko <ray@FreeBSD.org>2012-10-15 12:03:11 +0000
committerAleksandr Rybalko <ray@FreeBSD.org>2012-10-15 12:03:11 +0000
commitdaa4deac710a5307e074bab81c7ad3a8193ddf07 (patch)
treee81f92d862821ceeeb0ccdbdef06cb9116902258 /sys/dev/etherswitch
parent2543786a37e37dcf9c42db54681d36f7359542eb (diff)
Notes
Diffstat (limited to 'sys/dev/etherswitch')
-rw-r--r--sys/dev/etherswitch/arswitch/arswitch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/etherswitch/arswitch/arswitch.c b/sys/dev/etherswitch/arswitch/arswitch.c
index 16f63f8d69a0..05d4307462ea 100644
--- a/sys/dev/etherswitch/arswitch/arswitch.c
+++ b/sys/dev/etherswitch/arswitch/arswitch.c
@@ -102,6 +102,7 @@ arswitch_probe(device_t dev)
if (ar7240_probe(dev) == 0) {
chipname = "AR7240";
sc->sc_switchtype = AR8X16_SWITCH_AR7240;
+ id = 0;
goto done;
}