cfg80211: refactor hidden SSID finding
authorJohannes Berg <johannes.berg@intel.com>
Tue, 29 Jan 2013 23:26:45 +0000 (00:26 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Feb 2013 17:57:40 +0000 (18:57 +0100)
Instead of duplicating the rbtree functions, pass
an argument to the compare function. This removes
the code duplication for the two searches.

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

Simple merge