diff --git a/src/net/80211/net80211.c b/src/net/80211/net80211.c index 62912741..48200010 100644 --- a/src/net/80211/net80211.c +++ b/src/net/80211/net80211.c @@ -1586,9 +1586,6 @@ struct list_head *net80211_probe_finish_all ( struct net80211_probe_ctx *ctx ) { struct list_head *beacons = ctx->beacons; - if ( ! ctx ) - return NULL; - net80211_keep_mgmt ( ctx->dev, ctx->old_keep_mgmt ); if ( ctx->probe )