From: mikeb Date: Fri, 5 Aug 2016 11:37:57 +0000 (+0000) Subject: Trigger link state update only on media status updates X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=31a9021dadb714209fd7413339b8291cfc301030;p=openbsd Trigger link state update only on media status updates --- 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 * 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;