cfg80211: simplify mesh BSS comparison
authorJohannes Berg <johannes.berg@intel.com>
Tue, 29 Jan 2013 23:40:20 +0000 (00:40 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Feb 2013 17:57:41 +0000 (18:57 +0100)
commit3af6341c5378d1ed0905614575ee9ee2e5522c81
tree876cbc80cc25a62a485f1b2582627b0cf996c71a
parent4593c4cbe1c96b3995727dc42f6aa103f4ff5afc
cfg80211: simplify mesh BSS comparison

Instead of first checking if a BSS is an MBSS
and then doing the comparisons, inline it all
into the BSS comparison function. This avoids
doing the IE searches twice and is also a lot
less code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c