mac80211: check for non-managed interface
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 23 Apr 2012 16:30:32 +0000 (09:30 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Apr 2012 18:54:27 +0000 (14:54 -0400)
commitbe6bcabc7919522f28c99642b8e04ef7b8e19283
treeb273f570a0c091a89622e12b3c4e05c2be396709
parent1479177ba69023a5bb9480fb6914f4a343452887
mac80211: check for non-managed interface

Average beacon signal only keep tracked by managed interface,
give warning and return 0 for the others.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/util.c