]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7f33ad3fe7b2acddedb46f430ff8b57f0131aa31
tree43824a1d72ece689d2128077e139567499316f9d
parentad63c7bdcc72587d1b5763c84825578797e2ffaa
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