mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 01:36:52 +09:00
iwlwifi: mvm: ToF - fill bssid of responder configuration
The command needs to have the AP interfaces BSSID (which corresponds to its address). Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
committed by
Luca Coelho
parent
3e0fa50575
commit
9ef2b8befb
@@ -185,6 +185,7 @@ int iwl_mvm_tof_responder_cmd(struct iwl_mvm *mvm,
|
||||
}
|
||||
|
||||
cmd->sta_id = mvmvif->bcast_sta.sta_id;
|
||||
memcpy(cmd->bssid, vif->addr, ETH_ALEN);
|
||||
return iwl_mvm_send_cmd_pdu(mvm, iwl_cmd_id(TOF_CMD,
|
||||
IWL_ALWAYS_LONG_GROUP, 0),
|
||||
0, sizeof(*cmd), cmd);
|
||||
|
||||
Reference in New Issue
Block a user