commit | 3b6ef6334febb05d3050a96546e635f038dbcb15 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri Nov 04 11:01:46 2011 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Nov 07 13:19:14 2011 -0500 |
tree | 30f568f999c0ffd3a3011f0f495e759b7f19c2f7 | |
parent | 133a3ff2c934223a8143bfa52401bba962a97165 [diff] |
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 <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>