mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
Staging: rtl8712: ieee80211: fixed camelcase coding style issue
Fixed coding style issue Signed-off-by: Jaya Durga <rjdurga@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
338dbc1ed4
commit
92abe42b35
1 changed files with 5 additions and 5 deletions
|
@ -166,7 +166,7 @@ static uint r8712_get_rateset_len(u8 *rateset)
|
||||||
|
|
||||||
int r8712_generate_ie(struct registry_priv *pregistrypriv)
|
int r8712_generate_ie(struct registry_priv *pregistrypriv)
|
||||||
{
|
{
|
||||||
int sz = 0, rateLen;
|
int sz = 0, rate_len;
|
||||||
struct wlan_bssid_ex *pdev_network = &pregistrypriv->dev_network;
|
struct wlan_bssid_ex *pdev_network = &pregistrypriv->dev_network;
|
||||||
u8 *ie = pdev_network->IEs;
|
u8 *ie = pdev_network->IEs;
|
||||||
|
|
||||||
|
@ -191,15 +191,15 @@ int r8712_generate_ie(struct registry_priv *pregistrypriv)
|
||||||
pdev_network->Ssid.Ssid, &sz);
|
pdev_network->Ssid.Ssid, &sz);
|
||||||
/*supported rates*/
|
/*supported rates*/
|
||||||
set_supported_rate(pdev_network->rates, pregistrypriv->wireless_mode);
|
set_supported_rate(pdev_network->rates, pregistrypriv->wireless_mode);
|
||||||
rateLen = r8712_get_rateset_len(pdev_network->rates);
|
rate_len = r8712_get_rateset_len(pdev_network->rates);
|
||||||
if (rateLen > 8) {
|
if (rate_len > 8) {
|
||||||
ie = r8712_set_ie(ie, _SUPPORTEDRATES_IE_, 8,
|
ie = r8712_set_ie(ie, _SUPPORTEDRATES_IE_, 8,
|
||||||
pdev_network->rates, &sz);
|
pdev_network->rates, &sz);
|
||||||
ie = r8712_set_ie(ie, _EXT_SUPPORTEDRATES_IE_, (rateLen - 8),
|
ie = r8712_set_ie(ie, _EXT_SUPPORTEDRATES_IE_, (rate_len - 8),
|
||||||
(pdev_network->rates + 8), &sz);
|
(pdev_network->rates + 8), &sz);
|
||||||
} else {
|
} else {
|
||||||
ie = r8712_set_ie(ie, _SUPPORTEDRATES_IE_,
|
ie = r8712_set_ie(ie, _SUPPORTEDRATES_IE_,
|
||||||
rateLen, pdev_network->rates, &sz);
|
rate_len, pdev_network->rates, &sz);
|
||||||
}
|
}
|
||||||
/*DS parameter set*/
|
/*DS parameter set*/
|
||||||
ie = r8712_set_ie(ie, _DSSET_IE_, 1,
|
ie = r8712_set_ie(ie, _DSSET_IE_, 1,
|
||||||
|
|
Loading…
Reference in a new issue