summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-11-28 22:42:34 +0100
committerJohannes Berg <johannes.berg@intel.com>2012-11-30 13:41:26 +0100
commitf94f8b168cf2e46da180bbba2afd626d7af0579d (patch)
tree44c5efcf76dce5438bd078744e6a695b3a40e478 /net/mac80211
parent915de2ff4a79f1f98362035060777b6c8ce889bb (diff)
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/mac80211')
0 files changed, 0 insertions, 0 deletions