Эх сурвалжийг харах

qcacld-3.0: Add kernel doc for wlan_hdd_cfg80211_change_iface

Add kernel doc for wlan_hdd_cfg80211_change_iface function.

Change-Id: I1616b60ba805a055b5b15fbc0bb1aa65ee7b56a3
CRs-Fixed: 964145
Rajeev Kumar 9 жил өмнө
parent
commit
826461a537

+ 18 - 6
core/hdd/src/wlan_hdd_cfg80211.c

@@ -5994,9 +5994,15 @@ void *wlan_hdd_change_country_code_cb(void *pAdapter)
 	return NULL;
 }
 
-/*
- * FUNCTION: __wlan_hdd_cfg80211_change_iface
- * This function is used to set the interface type (INFRASTRUCTURE/ADHOC)
+/**
+ * __wlan_hdd_cfg80211_change_iface() - change interface cfg80211 op
+ * @wiphy: Pointer to the wiphy structure
+ * @ndev: Pointer to the net device
+ * @type: Interface type
+ * @flags: Flags for change interface
+ * @params: Pointer to change interface parameters
+ *
+ * Return: 0 for success, error number on failure.
  */
 static int __wlan_hdd_cfg80211_change_iface(struct wiphy *wiphy,
 					    struct net_device *ndev,
@@ -6238,9 +6244,15 @@ done:
 	return 0;
 }
 
-/*
- * FUNCTION: wlan_hdd_cfg80211_change_iface
- * wrapper function to protect the actual implementation from SSR.
+/**
+ * wlan_hdd_cfg80211_change_iface() - change interface cfg80211 op
+ * @wiphy: Pointer to the wiphy structure
+ * @ndev: Pointer to the net device
+ * @type: Interface type
+ * @flags: Flags for change interface
+ * @params: Pointer to change interface parameters
+ *
+ * Return: 0 for success, error number on failure.
  */
 static int wlan_hdd_cfg80211_change_iface(struct wiphy *wiphy,
 					  struct net_device *ndev,