summaryrefslogtreecommitdiff
path: root/net/rfkill
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-12-02 13:09:14 +0100
committerJohannes Berg <johannes.berg@intel.com>2021-12-20 10:57:19 +0100
commit75cca1fac2e11039fefb4f2118a8af50949345dc (patch)
tree36366d99190bf502094dd1f4ca2442ecbf6cc757 /net/rfkill
parentd9a8297e873eda9d47aa5895ca47dc12eca0b198 (diff)
cfg80211: refactor cfg80211_get_ies_channel_number()
Now that this is no longer part of the bigger function, we can get rid of the channel_num variable. Also change the function to use the struct element helpers, instead of open-coding the element handling. Link: https://lore.kernel.org/r/20211202130913.a0adf67a9319.I6db0340a34fff18d78e9cd512f4abf855da4e43a@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions