From: Johannes Berg Date: Fri, 4 Nov 2011 10:01:46 +0000 (+0100) Subject: cfg80211: fix cmp_ies X-Git-Tag: v3.2-rc3~25^2~49^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b6ef6334febb05d3050a96546e635f038dbcb15;p=pandora-kernel.git cfg80211: fix cmp_ies When comparing two items by IE, the sort order wasn't stable, which could lead to issues in the rbtree. Make it stable by making a missing IE sort before a present IE. Also sort by length first if it differs and then by contents. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed