nl80211: Add debug prints for BSS status in scan results
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 2 Dec 2009 14:45:31 +0000 (16:45 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 2 Dec 2009 14:45:31 +0000 (16:45 +0200)
commite6b8efeba01851605691582cb1a65a4cbc92410d
treeecefbfcb0ac7703891fbbb89ca4e32329e2e1ffc
parentd8222ae38c3be3fba794462d11fed8b57590c7f5
nl80211: Add debug prints for BSS status in scan results

Print what the kernel believes the current BSS status (authenticated
or associated) is in scan results. In addition, check whether this
matches with the state that wpa_supplicant believes the driver to be
in.

This does not change the actual behavior, but will provide information
that will help in debugging potential issues where cfg80211/mac80211
seems to get into a different state from wpa_supplicant. In addition,
this provides an easy location for a workaround that could be added to
clear cfg80211/mac80211 state for unknown BSSes.
src/drivers/driver.h
src/drivers/driver_nl80211.c