Commit 26ffcbfc authored by Martin Kepplinger's avatar Martin Kepplinger
Browse files

WIP: hack: net: wireless: redpine FIXME

parent 5e748863
......@@ -3149,8 +3149,8 @@ void rsi_scan_start(struct work_struct *work)
common->scan_in_prog = true;
rsi_disable_ps(common->priv);
rsi_reset_event(&common->mgmt_cfm_event);
rsi_wait_event(&common->mgmt_cfm_event, msecs_to_jiffies(2000));
rsi_reset_event(&common->tx_thread.event);
rsi_wait_event(&common->tx_thread.event, msecs_to_jiffies(2000));
for (ii =0; ii < scan_req->n_channels ; ii++) {
if (common->iface_down)
......@@ -3226,8 +3226,8 @@ void rsi_scan_start(struct work_struct *work)
common->scan_in_prog = false;
if(vif->type != NL80211_IFTYPE_AP) {
rsi_disable_ps(common->priv);
rsi_reset_event(&common->mgmt_cfm_event);
rsi_wait_event(&common->mgmt_cfm_event,
rsi_reset_event(&common->tx_thread.event);
rsi_wait_event(&common->tx_thread.event,
msecs_to_jiffies(2000));
}
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0))
......@@ -3580,7 +3580,7 @@ static int rsi_handle_ta_confirm(struct rsi_common *common, u8 *msg)
case WAKEUP_SLEEP_REQUEST:
redpine_dbg(INFO_ZONE, "Wakeup/Sleep confirmation.\n");
rsi_set_event(&common->mgmt_cfm_event);
rsi_set_event(&common->tx_thread.event);
return rsi_handle_ps_confirm(adapter, msg);
case BG_SCAN_PROBE_REQ:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment