summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-08-05 11:37:58 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-08-05 11:37:58 +0000
commitd7ca54c4352e5c10de1d1e27a14d1afe0387c37f (patch)
tree313faa1fa07c8eaaf8a8601b77238d0e2e6e95f4 /sys
parentdc9fcf22b177e590838192fc38ea4fd9c46df7ca (diff)
Trigger link state update only on media status updates
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pv/if_hvn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pv/if_hvn.c b/sys/dev/pv/if_hvn.c
index 9bcc1ffae2a..9ba9cdd0a42 100644
--- a/sys/dev/pv/if_hvn.c
+++ b/sys/dev/pv/if_hvn.c
@@ -1,7 +1,7 @@
/*-
* Copyright (c) 2009-2012 Microsoft Corp.
* Copyright (c) 2010-2012 Citrix Inc.
- * Copyright (c) 2012 NetApp Inc.
+ * Copyright (c) 2012 NetApp Inc.
* Copyright (c) 2016 Mike Belopuhov <mike@esdenera.com>
* All rights reserved.
*
@@ -1277,7 +1277,7 @@ hvn_rndis_status(struct hvn_softc *sc, caddr_t buf, uint32_t len)
break;
/* Ignore these */
case RNDIS_STATUS_OFFLOAD_CURRENT_CONFIG:
- break;
+ return;
default:
DPRINTF("%s: unhandled status %#x\n", sc->sc_dev.dv_xname, sta);
return;