From 31a9021dadb714209fd7413339b8291cfc301030 Mon Sep 17 00:00:00 2001 From: mikeb Date: Fri, 5 Aug 2016 11:37:57 +0000 Subject: [PATCH] Trigger link state update only on media status updates --- sys/dev/pv/if_hvn.c | 4 ++-- 1 file 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 * 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; -- 2.20.1