• Johannes Berg's avatar
    cfg80211: fix cmp_hidden_bss · f94f8b16
    Johannes Berg authored
    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: default avatarJohannes Berg <johannes.berg@intel.com>