提交 0241fa19 编写于 作者: S Sara Sharon 提交者: Johannes Berg

mac80211: fix VHT MU-MIMO frame processing

The source and destintation addresses in the memcpy arguments
are flipped. Fix that.

Fixes: 23a1f8d4("mac80211: process and save VHT MU-MIMO group frame")
Signed-off-by: NSara Sharon <sara.sharon@intel.com>
Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
上级 4cc955de
...@@ -459,10 +459,12 @@ void ieee80211_process_mu_groups(struct ieee80211_sub_if_data *sdata, ...@@ -459,10 +459,12 @@ void ieee80211_process_mu_groups(struct ieee80211_sub_if_data *sdata,
bss_conf->mu_group.membership, WLAN_MEMBERSHIP_LEN)) bss_conf->mu_group.membership, WLAN_MEMBERSHIP_LEN))
return; return;
memcpy(mgmt->u.action.u.vht_group_notif.membership, memcpy(bss_conf->mu_group.membership,
bss_conf->mu_group.membership, WLAN_MEMBERSHIP_LEN); mgmt->u.action.u.vht_group_notif.membership,
memcpy(mgmt->u.action.u.vht_group_notif.position, WLAN_MEMBERSHIP_LEN);
bss_conf->mu_group.position, WLAN_USER_POSITION_LEN); memcpy(bss_conf->mu_group.position,
mgmt->u.action.u.vht_group_notif.position,
WLAN_USER_POSITION_LEN);
ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_MU_GROUPS); ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_MU_GROUPS);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册