]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: iwlwifi: handle non-overlapping API ranges
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 9 Jul 2025 20:05:29 +0000 (23:05 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Thu, 10 Jul 2025 16:48:38 +0000 (19:48 +0300)
commit6fdd41b25fb4154bcde7a38ca1c98e072fa1177c
treeb2cbecb37504ba6ced756270cfa15e7c7a31c4d7
parent6b04716cdcac37bdbacde34def08bc6fdb5fc4e2
wifi: iwlwifi: handle non-overlapping API ranges

The option to set an api_version_min/max also to the RF was added.
In the case that both the MAC and the RF has a range defined, we take
the narrower range of both.

This doesn't work for non-overlapping ranges. In this case, we should
just take the lower range of both.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250709200543.1628666-2-miriam.rachel.korenblit@intel.com
drivers/net/wireless/intel/iwlwifi/iwl-drv.c