mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
mac80211: fix VHT MU-MIMO frame processing
The source and destintation addresses in the memcpy arguments are flipped. Fix that. Fixes: 23a1f8d44c0b("mac80211: process and save VHT MU-MIMO group frame") Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
4cc955de7c
commit
0241fa19ef
@ -459,10 +459,12 @@ void ieee80211_process_mu_groups(struct ieee80211_sub_if_data *sdata,
|
||||
bss_conf->mu_group.membership, WLAN_MEMBERSHIP_LEN))
|
||||
return;
|
||||
|
||||
memcpy(mgmt->u.action.u.vht_group_notif.membership,
|
||||
bss_conf->mu_group.membership, WLAN_MEMBERSHIP_LEN);
|
||||
memcpy(mgmt->u.action.u.vht_group_notif.position,
|
||||
bss_conf->mu_group.position, WLAN_USER_POSITION_LEN);
|
||||
memcpy(bss_conf->mu_group.membership,
|
||||
mgmt->u.action.u.vht_group_notif.membership,
|
||||
WLAN_MEMBERSHIP_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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user