|
@@ -2990,6 +2990,10 @@ void p2p_send_action_cb(struct p2p_data *p2p, unsigned int freq, const u8 *dst,
|
|
|
p2p->pending_action_state = P2P_NO_PENDING_ACTION;
|
|
|
switch (state) {
|
|
|
case P2P_NO_PENDING_ACTION:
|
|
|
+ if (p2p->send_action_in_progress) {
|
|
|
+ p2p->send_action_in_progress = 0;
|
|
|
+ p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
|
|
|
+ }
|
|
|
if (p2p->after_scan_tx_in_progress) {
|
|
|
p2p->after_scan_tx_in_progress = 0;
|
|
|
if (p2p->start_after_scan != P2P_AFTER_SCAN_NOTHING &&
|