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)
commit5622f5bb8dd3cafe0e56014ed03e31957d1b4a03
tree43824a1d72ece689d2128077e139567499316f9d
parent42745e039312ab4672c60ec584651f0c74e8264f
cfg80211: refactor hidden SSID finding

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