|
@@ -6628,7 +6628,7 @@ static void iwl3945_bg_request_scan(struct work_struct *data)
|
|
|
* that based on the direct_mask added to each channel entry */
|
|
|
scan->tx_cmd.len = cpu_to_le16(
|
|
|
iwl3945_fill_probe_req(priv, (struct ieee80211_mgmt *)scan->data,
|
|
|
- IWL_MAX_SCAN_SIZE - sizeof(scan), 0));
|
|
|
+ IWL_MAX_SCAN_SIZE - sizeof(*scan), 0));
|
|
|
scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK;
|
|
|
scan->tx_cmd.sta_id = priv->hw_setting.bcast_sta_id;
|
|
|
scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE;
|