cfg80211: fix cmp_hidden_bss
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Nov 2012 21:42:34 +0000 (22:42 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 30 Nov 2012 12:41:26 +0000 (13:41 +0100)
The cmp_bss() comparator function uses memcmp() to
compare the SSID. This means that cmp_hidden_bss()
needs to similarly return a number bigger than zero
(use 1) instead of -1 when ie1 is bigger than ie2,
which is the case if an ie2 byte is non-zero.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found