Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2015 21:27:51 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r280115 - head/sys/dev/wpi
Message-ID:  <201503152127.t2FLRpYF091036@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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) \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503152127.t2FLRpYF091036>