summaryrefslogtreecommitdiff
path: root/net/ipv4/fib_rules.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-11-29 01:42:34 +0400
committerJohannes Berg <johannes.berg@intel.com>2012-11-30 16:41:26 +0400
commitf94f8b168cf2e46da180bbba2afd626d7af0579d (patch)
tree44c5efcf76dce5438bd078744e6a695b3a40e478 /net/ipv4/fib_rules.c
parent915de2ff4a79f1f98362035060777b6c8ce889bb (diff)
downloadlinux-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