mac80211: rework scanning to account for probe response/beacon difference
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 16 Apr 2008 15:43:20 +0000 (17:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 Apr 2008 20:00:03 +0000 (16:00 -0400)
This patch reworks the scanning code (ieee80211_rx_bss_info) to take
more parameters from beacons and keep a BSS info structure alive when
only beacons for it are received. This fixes a problem with iwlwifi
drivers (where we don't understand the root cause of the problem yet)
and another driver for some broken hardware (which cannot send probe
requests unless associated, so can't always actively scan.)

Signed-off-by: Bill Moss <bmoss@clemson.edu>
[jmberg: reformatted comments, make probe_resp a bool]
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c

Simple merge
Simple merge