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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to