commit | f94f8b168cf2e46da180bbba2afd626d7af0579d | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Nov 28 22:42:34 2012 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Nov 30 13:41:26 2012 +0100 |
tree | 44c5efcf76dce5438bd078744e6a695b3a40e478 | |
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>