diff options
author | John Whitmore <johnfwhitmore@gmail.com> | 2018-08-08 22:00:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-27 19:17:08 +0200 |
commit | b56b1438a103a6ab80c29dbce2a0033999ac30c1 (patch) | |
tree | 71ac0fbc8d3b488ce43567388a3efe3d07449554 /drivers/staging/rtl8192u/ieee80211/dot11d.h | |
parent | e859737a15a47fd6035175c928d800ab35c67125 (diff) |
staging:rtl8192u: Rename IsLegalChannel - Style
The function IsLegalChannel causes a checkpatch issue due to its use
of CamelCase naming. The function has been renamed to is_legal_channel.
This is a coding style change which should have no impact on runtime
code execution.
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/ieee80211/dot11d.h')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/dot11d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/dot11d.h b/drivers/staging/rtl8192u/ieee80211/dot11d.h index 00e59e949f82..37c493789608 100644 --- a/drivers/staging/rtl8192u/ieee80211/dot11d.h +++ b/drivers/staging/rtl8192u/ieee80211/dot11d.h @@ -51,7 +51,7 @@ void dot11d_update_country_ie(struct ieee80211_device *dev, u8 *coutry_ie); u8 dot11d_get_max_tx_pwr_in_dbm(struct ieee80211_device *dev, u8 channel); void dot11d_scan_complete(struct ieee80211_device *dev); -int IsLegalChannel(struct ieee80211_device *dev, u8 channel); +int is_legal_channel(struct ieee80211_device *dev, u8 channel); int ToLegalChannel(struct ieee80211_device *dev, u8 channel); #endif /* #ifndef __INC_DOT11D_H */ |