diff options
author | Gregory Greenman <gregory.greenman@intel.com> | 2015-07-20 04:44:44 (GMT) |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2015-10-05 11:33:25 (GMT) |
commit | 9ef2b8befb5acf499ac60e2a18dfa3e41194ba6e (patch) | |
tree | d4b7bd6466b14f86cc01a6101e525b8dbc63a768 | |
parent | 3e0fa50575dbc83e57ceee7c413ff9b4e09a9a80 (diff) | |
download | linux-9ef2b8befb5acf499ac60e2a18dfa3e41194ba6e.tar.xz |
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>
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/tof.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/tof.c b/drivers/net/wireless/iwlwifi/mvm/tof.c index 7ae0bd8..4007f1d 100644 --- a/drivers/net/wireless/iwlwifi/mvm/tof.c +++ b/drivers/net/wireless/iwlwifi/mvm/tof.c @@ -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); |