linux/debian/patches/bugfix/all/mac80211-fix-fatal-kernel-d...

30 lines
1007 B
Diff

From: Ben Hutchings <ben@decadent.org.uk>
Date: Wed, 27 May 2015 20:26:54 +0100
Subject: mac80211: Fix fatal kernel-doc errors
kernel-doc currently fails on include/net/mac80211.h because the
comments for two struct types claim they are enum types.
Fixes: a9409093d23c ("mac80211: notify the driver about authentication status")
---
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -354,7 +354,7 @@ enum ieee80211_rssi_event_data {
};
/**
- * enum ieee80211_rssi_event - data attached to an %RSSI_EVENT
+ * struct ieee80211_rssi_event - data attached to an %RSSI_EVENT
* @data: See &enum ieee80211_rssi_event_data
*/
struct ieee80211_rssi_event {
@@ -388,7 +388,7 @@ enum ieee80211_mlme_event_status {
};
/**
- * enum ieee80211_mlme_event - data attached to an %MLME_EVENT
+ * struct ieee80211_mlme_event - data attached to an %MLME_EVENT
* @data: See &enum ieee80211_mlme_event_data
* @status: See &enum ieee80211_mlme_event_status
* @reason: the reason code if applicable