summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-11-09 14:57:54 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-12-02 11:51:21 +0100
commit01e0daa43f129fc1a6bc6f1197343c0293af866d (patch)
tree8979029acf47904bbf6d2805b2fa72615960ff11 /drivers/net/wireless/mac80211_hwsim.c
parentmac80211: minstrel_ht: do not sample unsupported rates (diff)
downloadlinux-01e0daa43f129fc1a6bc6f1197343c0293af866d.tar.xz
linux-01e0daa43f129fc1a6bc6f1197343c0293af866d.zip
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>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
0 files changed, 0 insertions, 0 deletions