diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-09-09 00:30:36 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-09-09 00:30:36 +0000 |
commit | bb4f8e0b2613f59774bf045045fcfdaf4bdf4644 (patch) | |
tree | 992ab939e630d85cace4e62f4a8ba256b972131e | |
parent | d7b870eaa3e8ef4245023415766fd607abd3f44a (diff) |
madwifi: replace an implicit memcpy with an explicit one (cosmetic fix)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17546 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/madwifi/patches/441-fix_ibss_node_handling.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/patches/441-fix_ibss_node_handling.patch b/package/madwifi/patches/441-fix_ibss_node_handling.patch index e4ef20a20..5035ae401 100644 --- a/package/madwifi/patches/441-fix_ibss_node_handling.patch +++ b/package/madwifi/patches/441-fix_ibss_node_handling.patch @@ -96,7 +96,7 @@ - /* NB: must be after ni_chan is setup */ - ieee80211_setup_rates(ni, sp->rates, sp->xrates, IEEE80211_F_DOSORT); - -+ ni->ni_rates = vap->iv_bss->ni_rates; ++ memcpy(&ni->ni_rates, &vap->iv_bss->ni_rates, sizeof(ni->ni_rates)); if (ic->ic_newassoc != NULL) ic->ic_newassoc(ni, 1); /* XXX not right for 802.1x/WPA */ |