summaryrefslogtreecommitdiff
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-03-01 12:09:31 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-03-07 10:57:01 +0100
commite8edb34640eeeefc74a3d767b61b4d4ac3b94eea (patch)
treefa24008523fc46f98f44e44202b0e36279819681 /net/mac80211/mlme.c
parent15f9b3ef5190bacc8a39628bc57c6da085877ffe (diff)
downloadlinux-e8edb34640eeeefc74a3d767b61b4d4ac3b94eea.tar.gz
linux-e8edb34640eeeefc74a3d767b61b4d4ac3b94eea.tar.bz2
linux-e8edb34640eeeefc74a3d767b61b4d4ac3b94eea.zip
wifi: mac80211: simplify reasoning about EHT capa handling
Given the code in cfg80211, EHT capa cannot be non-NULL when HE capa is NULL, but it's easier to reason about it if both are checked and the compiler will likely integrate the check with the previous one for HE capa anyway. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230301115906.7413d50d23bc.I6fef7484721be9bd5364f64921fc5e9168495f62@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mlme.c')
0 files changed, 0 insertions, 0 deletions