svn commit: r258643 - head/sys/dev/usb/wlan
Hans Petter Selasky
hselasky at FreeBSD.org
Tue Nov 26 11:11:25 UTC 2013
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)
More information about the svn-src-head
mailing list