fixed bug: wrong condition when prevent scan AP to found itself