From: hselasky Date: Fri, 23 Oct 2015 11:00:35 +0000 (+0000) Subject: Fix kernel build by restoring a temporary variable which was not yet X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a72c24b055f9f365a813ea36313976dba003cb28;p=people%2Fliuw%2Ffreebsd.git Fix kernel build by restoring a temporary variable which was not yet ripe for removal. --- diff --git a/sys/dev/usb/wlan/if_urtwn.c b/sys/dev/usb/wlan/if_urtwn.c index 1a713175735..3896aa0b1dd 100644 --- a/sys/dev/usb/wlan/if_urtwn.c +++ b/sys/dev/usb/wlan/if_urtwn.c @@ -1542,6 +1542,7 @@ urtwn_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) struct urtwn_softc *sc = ic->ic_softc; struct ieee80211_node *ni; enum ieee80211_state ostate; + uint32_t reg; ostate = vap->iv_state; DPRINTF("%s -> %s\n", ieee80211_state_name[ostate],