Skip to contentSkip to conversation

cfg80211: fix an htmldoc warning

PATCH New Emmanuel Grumbach 1 participant 1 message Apr 13, 2021 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cfg80211: fix an htmldoc warning

The htmldoc produces this warning which was introduced bu the commit below.

include/net/cfg80211.h:6643: warning: expecting prototype for wiphy_rfkill_set_hw_state(). Prototype was for wiphy_rfkill_set_hw_state_reason() instead

Fixes 6f779a66dc84 ("cfg80211: allow specifying a reason for hw_rfkill")
---
 include/net/cfg80211.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/cfg80211.h +1 -1
index 3b296f2b7a2c..c6134220dd8f 100644
@@ -6634,7 +6634,7 @@ void cfg80211_notify_new_peer_candidate(struct net_device *dev,
  */
 
 /**
- * wiphy_rfkill_set_hw_state - notify cfg80211 about hw block state
+ * wiphy_rfkill_set_hw_state_reason - notify cfg80211 about hw block state
  * @wiphy: the wiphy
  * @blocked: block status
  * @reason: one of reasons in &enum rfkill_hard_block_reasons
Signature · 1 line
2.25.1