wifi: ieee80211: reorder presence checks in MLE per-STA profile
authorJohannes Berg <johannes.berg@intel.com>
Sun, 18 Jun 2023 18:49:56 +0000 (21:49 +0300)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 16 Sep 2023 21:53:58 +0000 (23:53 +0200)
commitcbde7f7f3ecda4a64c6d52ee7b6d3640ae7ca469
tree294764922c3215da39e0e7e5e2cbd72f53b8fa32
parentb229f44954d3e8725c6869a2877562a8bb9697d4
wifi: ieee80211: reorder presence checks in MLE per-STA profile

In ieee80211_mle_sta_prof_size_ok(), the presence
checks aren't ordered by field order, so that's a
bit confusing. Reorder them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230618214436.fdbf17320a37.I517cf27fdc3f6e5d6a2615182da47ba4bdf14039@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/linux/ieee80211.h