3.1.8 Shutting Down Quick Discovery and Returning Results

When Quick Discovery has finished (either success or failure) or has been aborted, the results need to be communicated back to the higher-layer applications or protocols.

The Block timer MUST immediately be stopped if currently started.

If the DiscoverFrameSent flag is TRUE, the following needs to happen:

  1. The DiscoverFrameSent flag MUST be set to FALSE.

  2. Quick Discovery MUST be reset (see section 3.1.7) unless the enumerator is also functioning as a mapper and Quick Discovery has not been canceled (Cancelled flag is FALSE).

If the Cancelled flag is TRUE, the enumerator SHOULD signal a failure to the applications identified in the Application Request List.

If the Cancelled flag is FALSE, the enumerator SHOULD return the Seen Station List to the applications identified in the Application Request List.

The Application Request List MUST be cleared after returning the results.

The DiscoveryInProgress flag MUST be set to FALSE.