scan: Add support for scan abortions

This commit is contained in:
Denis Kenzior 2016-04-11 17:53:06 -05:00
parent 00673ba76a
commit 45b7323e0a
1 changed files with 4 additions and 0 deletions

View File

@ -1051,6 +1051,10 @@ static void scan_notify(struct l_genl_msg *msg, void *user_data)
sc->state = SCAN_STATE_PASSIVE;
break;
case NL80211_CMD_SCAN_ABORTED:
sc->state = SCAN_STATE_NOT_RUNNING;
break;
}
}