Commit e859737a authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: Rename DOT11D_ScanComplete - Style

The function DOT11D_ScanComplete causes a checkpatch issue due to its
use of CamelCase naming. The function has been renamed to
dot11d_scan_complete.

This is a coding style change which should have no impact on runtime
code execution.
Signed-off-by: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 715a3d93
...@@ -115,7 +115,7 @@ u8 dot11d_get_max_tx_pwr_in_dbm(struct ieee80211_device *dev, u8 Channel) ...@@ -115,7 +115,7 @@ u8 dot11d_get_max_tx_pwr_in_dbm(struct ieee80211_device *dev, u8 Channel)
} }
EXPORT_SYMBOL(dot11d_get_max_tx_pwr_in_dbm); EXPORT_SYMBOL(dot11d_get_max_tx_pwr_in_dbm);
void DOT11D_ScanComplete(struct ieee80211_device *dev) void dot11d_scan_complete(struct ieee80211_device *dev)
{ {
struct rt_dot11d_info *pDot11dInfo = GET_DOT11D_INFO(dev); struct rt_dot11d_info *pDot11dInfo = GET_DOT11D_INFO(dev);
...@@ -134,7 +134,7 @@ void DOT11D_ScanComplete(struct ieee80211_device *dev) ...@@ -134,7 +134,7 @@ void DOT11D_ScanComplete(struct ieee80211_device *dev)
break; break;
} }
} }
EXPORT_SYMBOL(DOT11D_ScanComplete); EXPORT_SYMBOL(dot11d_scan_complete);
int IsLegalChannel(struct ieee80211_device *dev, u8 channel) int IsLegalChannel(struct ieee80211_device *dev, u8 channel)
{ {
......
...@@ -50,7 +50,7 @@ void dot11d_update_country_ie(struct ieee80211_device *dev, ...@@ -50,7 +50,7 @@ void dot11d_update_country_ie(struct ieee80211_device *dev,
u16 coutry_ie_len, u16 coutry_ie_len,
u8 *coutry_ie); u8 *coutry_ie);
u8 dot11d_get_max_tx_pwr_in_dbm(struct ieee80211_device *dev, u8 channel); u8 dot11d_get_max_tx_pwr_in_dbm(struct ieee80211_device *dev, u8 channel);
void DOT11D_ScanComplete(struct ieee80211_device *dev); void dot11d_scan_complete(struct ieee80211_device *dev);
int IsLegalChannel(struct ieee80211_device *dev, u8 channel); int IsLegalChannel(struct ieee80211_device *dev, u8 channel);
int ToLegalChannel(struct ieee80211_device *dev, u8 channel); int ToLegalChannel(struct ieee80211_device *dev, u8 channel);
......
...@@ -464,7 +464,7 @@ void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee) ...@@ -464,7 +464,7 @@ void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee)
} else { } else {
ieee->sync_scan_hurryup = 0; ieee->sync_scan_hurryup = 0;
if (IS_DOT11D_ENABLE(ieee)) if (IS_DOT11D_ENABLE(ieee))
DOT11D_ScanComplete(ieee); dot11d_scan_complete(ieee);
mutex_unlock(&ieee->scan_mutex); mutex_unlock(&ieee->scan_mutex);
} }
} }
...@@ -504,7 +504,7 @@ static void ieee80211_softmac_scan_wq(struct work_struct *work) ...@@ -504,7 +504,7 @@ static void ieee80211_softmac_scan_wq(struct work_struct *work)
return; return;
out: out:
if (IS_DOT11D_ENABLE(ieee)) if (IS_DOT11D_ENABLE(ieee))
DOT11D_ScanComplete(ieee); dot11d_scan_complete(ieee);
ieee->actscanning = false; ieee->actscanning = false;
watchdog = 0; watchdog = 0;
ieee->scanning = 0; ieee->scanning = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment