diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-11-29 01:42:34 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-30 16:41:26 +0400 |
commit | f94f8b168cf2e46da180bbba2afd626d7af0579d (patch) | |
tree | 44c5efcf76dce5438bd078744e6a695b3a40e478 /net/ipv4/fib_rules.c | |
parent | 915de2ff4a79f1f98362035060777b6c8ce889bb (diff) | |
download | linux-f94f8b168cf2e46da180bbba2afd626d7af0579d.tar.xz |
cfg80211: fix cmp_hidden_bss
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>
Diffstat (limited to 'net/ipv4/fib_rules.c')
0 files changed, 0 insertions, 0 deletions