git: 05d6f4d6968a - main - LinuxKPI: 802.11 add rfkill_soft_blocked()

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 16 May 2022 18:12:12 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=05d6f4d6968a632645a5dcbedec3752098a66624

commit 05d6f4d6968a632645a5dcbedec3752098a66624
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2022-05-16 15:38:31 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2022-05-16 15:38:31 +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
    MFC after:      3 days
---
 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)