aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-09 00:30:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-09 00:30:36 +0000
commitd71228f09287bdc1af2a9e941754d2b945d14957 (patch)
tree4da8495e464ba29a468fef5139f17e7800232a46
parentd5cc8ea44bad409ce12fa4a3829a14c9944741d9 (diff)
downloadupstream-d71228f09287bdc1af2a9e941754d2b945d14957.tar.gz
upstream-d71228f09287bdc1af2a9e941754d2b945d14957.tar.bz2
upstream-d71228f09287bdc1af2a9e941754d2b945d14957.zip
madwifi: replace an implicit memcpy with an explicit one (cosmetic fix)
SVN-Revision: 17546
-rw-r--r--package/madwifi/patches/441-fix_ibss_node_handling.patch2
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 e4ef20a201..5035ae401b 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 */