The invention discloses a method for scanning
wireless networks, and a device for realizing thereof. The method comprises: an AP (access point) establishing a scan table item of an STA (
station) when receiving a scanning message sent by the STA for the first time, responding a scan responding message to the STA; the scan table item being used for recording STA identification information, a
receipt time T of the scanning message responded at a last time, and a scanning time interval [
delta]T of the STA; and when the AP subsequentially receiving a scanning message sent by the STA, determining a time when the scanning message is received at present, and determining whether the T and the [
delta]T recorded in the scan table item satisfy preset inhibiting response conditions, if satisfy, not responding to the scanning message which is received at present, otherwise, sending the scan responding message to the STA, and meanwhile updating the T in the scan table item of the STA. A channel of the AP receiving the scanning message is a working channel of the AP, or any channel overlapped with the working channel of the AP. With the method and the device, unwanted vent resource waste can be prevented.