]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5bfdc6be82a89402138396333fd298a62e87b356
tree876cbc80cc25a62a485f1b2582627b0cf996c71a
parent8e05ae624bacfee0aeb75e107ccd16862c07ef9a
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