From 98edb77f7b40599d6a263ecda5a2a34377d91c7e Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Tue, 19 Jan 2016 12:42:19 -0800 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_cfg80211.c | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index aa226e1cbd41..154f905c9ea3 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/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,