|
@@ -438,7 +438,7 @@ EXPORT_SYMBOL(iwl_bg_scan_check);
|
|
|
*/
|
|
|
|
|
|
u16 iwl_fill_probe_req(struct iwl_priv *priv, struct ieee80211_mgmt *frame,
|
|
|
- const u8 *ies, int ie_len, int left)
|
|
|
+ const u8 *ta, const u8 *ies, int ie_len, int left)
|
|
|
{
|
|
|
int len = 0;
|
|
|
u8 *pos = NULL;
|
|
@@ -451,7 +451,7 @@ u16 iwl_fill_probe_req(struct iwl_priv *priv, struct ieee80211_mgmt *frame,
|
|
|
|
|
|
frame->frame_control = cpu_to_le16(IEEE80211_STYPE_PROBE_REQ);
|
|
|
memcpy(frame->da, iwl_bcast_addr, ETH_ALEN);
|
|
|
- memcpy(frame->sa, priv->mac_addr, ETH_ALEN);
|
|
|
+ memcpy(frame->sa, ta, ETH_ALEN);
|
|
|
memcpy(frame->bssid, iwl_bcast_addr, ETH_ALEN);
|
|
|
frame->seq_ctrl = 0;
|
|
|
|