Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2015 01:36:16 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289729 - head/sys/dev/iwm
Message-ID:  <201510220136.t9M1aGJF087859@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Thu Oct 22 01:36:16 2015
New Revision: 289729
URL: https://svnweb.freebsd.org/changeset/base/289729

Log:
  Fix IEEE80211_ADDR_COPY() usage.
  
  Reviewed by:	adrian

Modified:
  head/sys/dev/iwm/if_iwm.c

Modified: head/sys/dev/iwm/if_iwm.c
==============================================================================
--- head/sys/dev/iwm/if_iwm.c	Thu Oct 22 01:32:11 2015	(r289728)
+++ head/sys/dev/iwm/if_iwm.c	Thu Oct 22 01:36:16 2015	(r289729)
@@ -2081,7 +2081,7 @@ iwm_run_init_mvm_ucode(struct iwm_softc 
 			device_printf(sc->sc_dev, "failed to read nvm\n");
 			return error;
 		}
-		IEEE80211_ADDR_COPY(sc->sc_ic.ic_macaddr, &sc->sc_nvm.hw_addr);
+		IEEE80211_ADDR_COPY(sc->sc_ic.ic_macaddr, sc->sc_nvm.hw_addr);
 
 		sc->sc_scan_cmd_len = sizeof(struct iwm_scan_cmd)
 		    + sc->sc_capa_max_probe_len



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