Hi,
Apparently we need to increase the scan count everytime, else we get no
nodes in the list.
Found the hardway on mpi's run(4).
Is there any device that still needs that check?
Paul
diff --git sys/net80211/ieee80211_node.c sys/net80211/ieee80211_node.c
index 70d6419e619..e10d1cab81d 100644
--- sys/net80211/ieee80211_node.c
+++ sys/net80211/ieee80211_node.c
@@ -729,9 +729,7 @@ ieee80211_end_scan(struct ifnet *ifp)
* current scan results to userspace regardless of mode.
* This will loop forever except for user-initiated scans.
*/
- if (ieee80211_next_mode(ifp) == IEEE80211_MODE_AUTO ||
- (ic->ic_caps & IEEE80211_C_SCANALLBAND))
- ic->ic_scan_count++;
+ ic->ic_scan_count++;
/*
* Reset the list of channels to scan and start again.