git: 465776a81e23 - stable/13 - LinuxKPI: 802.11 add rfkill_soft_blocked()

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Fri, 03 Jun 2022 17:19:22 UTC
The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=465776a81e2380e1867f8d01ba470f7d51b11b5f

commit 465776a81e2380e1867f8d01ba470f7d51b11b5f
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-05-16 15:38:31 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-06-03 16:56:21 +0000

    LinuxKPI: 802.11 add rfkill_soft_blocked()
    
    Add rfkill_soft_blocked() to the list of things to implement in
    preparation for an iwlwifi update.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 05d6f4d6968a632645a5dcbedec3752098a66624)
---
 sys/compat/linuxkpi/common/include/net/cfg80211.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/net/cfg80211.h b/sys/compat/linuxkpi/common/include/net/cfg80211.h
index 29fe65395385..06a3ee626f08 100644
--- a/sys/compat/linuxkpi/common/include/net/cfg80211.h
+++ b/sys/compat/linuxkpi/common/include/net/cfg80211.h
@@ -1117,6 +1117,13 @@ rfkill_blocked(int rfkill)		/* argument type? */
 	return (false);
 }
 
+static __inline bool
+rfkill_soft_blocked(int rfkill)
+{
+	TODO();
+	return (false);
+}
+
 static __inline int
 reg_query_regdb_wmm(uint8_t *alpha2, uint32_t center_freq,
     struct ieee80211_reg_rule *rule)