From: Johannes Berg Date: Wed, 28 Nov 2012 21:42:34 +0000 (+0100) Subject: cfg80211: fix cmp_hidden_bss X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~17^2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f94f8b168cf2e46da180bbba2afd626d7af0579d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed