Changeset 17546


Ignore:
Timestamp:
2009-09-09T02:30:36+02:00 (8 years ago)
Author:
nbd
Message:

madwifi: replace an implicit memcpy with an explicit one (cosmetic fix)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/madwifi/patches/441-fix_ibss_node_handling.patch

    r17545 r17546  
    9797-               ieee80211_setup_rates(ni, sp->rates, sp->xrates, IEEE80211_F_DOSORT); 
    9898- 
    99 +               ni->ni_rates = vap->iv_bss->ni_rates; 
     99+               memcpy(&ni->ni_rates, &vap->iv_bss->ni_rates, sizeof(ni->ni_rates)); 
    100100                if (ic->ic_newassoc != NULL) 
    101101                        ic->ic_newassoc(ni, 1); 
Note: See TracChangeset for help on using the changeset viewer.