diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-11-28 22:42:34 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-30 13:41:26 +0100 |
commit | f94f8b168cf2e46da180bbba2afd626d7af0579d (patch) | |
tree | 44c5efcf76dce5438bd078744e6a695b3a40e478 /net/mac80211/util.c | |
parent | 915de2ff4a79f1f98362035060777b6c8ce889bb (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/util.c')
0 files changed, 0 insertions, 0 deletions