Felix Fietkau 01e0daa43f 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 <nbd@openwrt.org>
[change location of flag setting]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-12-02 11:51:21 +01:00
..
2013-11-25 20:50:49 +01:00
2013-10-01 12:16:51 +02:00
2012-11-16 14:29:09 -05:00
2012-10-18 10:53:37 +02:00
2013-08-12 14:11:37 +02:00
2012-10-18 10:53:37 +02:00
2013-08-12 14:11:37 +02:00