]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: move unsplit command advertising to a separate function
authorJohannes Berg <johannes.berg@intel.com>
Wed, 26 Oct 2016 09:42:04 +0000 (11:42 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Oct 2016 14:03:19 +0000 (16:03 +0200)
commitbb349bb8d0941c2c970a0e4645683bed82ac8ca6
treeacc3b2b996de9057a0883c0d14dd165164a30b80
parent825f14c270f074237ebcca6c25fe312e302d4cbb
nl80211: move unsplit command advertising to a separate function

When we split the wiphy dump because it got too large, I added a
comment and asked that all new command advertising be done only
for userspace clients capable of receiving split data, in order
to not break older ones (which can't use the new commands anyway)

This mostly worked, and we haven't added many new commands, but
I occasionally get patches that modify the wrong place.

Make this easier to detect and understand by splitting out the
old commands to a separate function that makes it more clear it
should never be modified again.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c