summaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2013-02-11 14:25:28 -0500
committerJohn W. Linville <linville@tuxdriver.com>2013-02-11 14:25:28 -0500
commit3b6990838cf39e152fb5c88ca81bddcdb4ae43e3 (patch)
tree4495d07ddf9f4d06e895ef98f74bc196f5914a46 /net/mac80211/cfg.c
parent7b2385b95363c9ff49801c19cba2489a05bd6672 (diff)
parent3d9646d0abd02c552f6f15c302b31aa321c2fa8b (diff)
downloadop-kernel-dev-3b6990838cf39e152fb5c88ca81bddcdb4ae43e3.zip
op-kernel-dev-3b6990838cf39e152fb5c88ca81bddcdb4ae43e3.tar.gz
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 516fbc9..0479c64 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -2004,7 +2004,8 @@ static int ieee80211_set_mcast_rate(struct wiphy *wiphy, struct net_device *dev,
{
struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
- memcpy(sdata->vif.bss_conf.mcast_rate, rate, sizeof(rate));
+ memcpy(sdata->vif.bss_conf.mcast_rate, rate,
+ sizeof(int) * IEEE80211_NUM_BANDS);
return 0;
}
OpenPOWER on IntegriCloud