Date: Tue, 26 Nov 2013 11:11:25 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r258643 - head/sys/dev/usb/wlan Message-ID: <201311261111.rAQBBPmg031385@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Tue Nov 26 11:11:24 2013 New Revision: 258643 URL: http://svnweb.freebsd.org/changeset/base/258643 Log: Style changes. Modified: head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/wlan/if_run.c ============================================================================== --- head/sys/dev/usb/wlan/if_run.c Tue Nov 26 10:57:09 2013 (r258642) +++ head/sys/dev/usb/wlan/if_run.c Tue Nov 26 11:11:24 2013 (r258643) @@ -2520,7 +2520,7 @@ run_rx_frame(struct run_softc *sc, struc struct rt2870_rxd *rxd; struct rt2860_rxwi *rxwi; uint32_t flags; - uint16_t len, phy; + uint16_t len; uint8_t ant, rssi; int8_t nf; @@ -2587,6 +2587,7 @@ run_rx_frame(struct run_softc *sc, struc if (__predict_false(ieee80211_radiotap_active(ic))) { struct run_rx_radiotap_header *tap = &sc->sc_rxtap; + uint16_t phy; tap->wr_flags = 0; tap->wr_chan_freq = htole16(ic->ic_curchan->ic_freq); @@ -5286,7 +5287,7 @@ run_stop(void *arg) tmp &= ~(RT2860_RX_DMA_EN | RT2860_TX_DMA_EN); run_write(sc, RT2860_WPDMA_GLO_CFG, tmp); - for (ntries = 0; ntries < 100; ntries++) { + for (ntries = 0; ntries < 100; ntries++) { if (run_read(sc, RT2860_WPDMA_GLO_CFG, &tmp) != 0) return; if ((tmp & (RT2860_TX_DMA_BUSY | RT2860_RX_DMA_BUSY)) == 0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311261111.rAQBBPmg031385>