svn commit: r280115 - head/sys/dev/wpi
Adrian Chadd
adrian at FreeBSD.org
Sun Mar 15 21:27:52 UTC 2015
Author: adrian
Date: Sun Mar 15 21:27:50 2015
New Revision: 280115
URL: https://svnweb.freebsd.org/changeset/base/280115
Log:
Reformatting changes.
(attachment 154380)
PR: kern/197143
Submitted by: Andriy Voskoboinyk <s3erios at gmail.com>
Modified:
head/sys/dev/wpi/if_wpivar.h
Modified: head/sys/dev/wpi/if_wpivar.h
==============================================================================
--- head/sys/dev/wpi/if_wpivar.h Sun Mar 15 21:27:03 2015 (r280114)
+++ head/sys/dev/wpi/if_wpivar.h Sun Mar 15 21:27:50 2015 (r280115)
@@ -213,8 +213,8 @@ struct wpi_softc {
void (*sc_scan_curchan)(struct ieee80211_scan_state *,
unsigned long);
- struct wpi_rx_radiotap_header sc_rxtap;
- struct wpi_tx_radiotap_header sc_txtap;
+ struct wpi_rx_radiotap_header sc_rxtap;
+ struct wpi_tx_radiotap_header sc_txtap;
/* Firmware image. */
const struct firmware *fw_fp;
@@ -254,7 +254,7 @@ struct wpi_softc {
MTX_NETWORK_LOCK, MTX_DEF)
#define WPI_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx)
#define WPI_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx)
-#define WPI_LOCK_ASSERT(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED)
+#define WPI_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED)
#define WPI_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx)
#define WPI_RXON_LOCK_INIT(_sc) \
More information about the svn-src-all
mailing list