From: Felix Fietkau Date: Sat, 9 Nov 2013 13:57:54 +0000 (+0100) Subject: cfg80211: fix reporting 5/10 MHz support to user space X-Git-Tag: v3.14-rc1~94^2~334^2^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01e0daa43f129fc1a6bc6f1197343c0293af866d;p=pandora-kernel.git cfg80211: fix reporting 5/10 MHz support to user space nla_put_flag needs a real nl80211 attribute id, not a wiphy flag bit. While at it, split 5 and 10 MHz capability flags in case we ever need to support hardware that can only do one of the two. Also move the flag settings to the split-only information so we don't increase the space needed for old userspace. Signed-off-by: Felix Fietkau [change location of flag setting] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed