diff options
author | Mateusz Kulikowski <mateusz.kulikowski@gmail.com> | 2015-04-01 00:24:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 15:29:30 +0200 |
commit | e725fb6f814b290fbf967e475f2a136efca66986 (patch) | |
tree | 7b65534ee5665533c8e4aa4b7011d82f85c0a155 | |
parent | f7567e20708ed4129ccec1a21c4c55b9725b66d0 (diff) | |
download | blackbird-op-linux-e725fb6f814b290fbf967e475f2a136efca66986.tar.gz blackbird-op-linux-e725fb6f814b290fbf967e475f2a136efca66986.zip |
staging: rtl8192e: Fix indentation in rtllib_rx_auth_resp()
Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_softmac.c | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 9a4179cb926c..c043d8cb6c8a 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -2329,7 +2329,7 @@ static void rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb) errcode); netdev_info(ieee->dev, - "Authentication respose status code 0x%x", errcode); + "Authentication respose status code 0x%x", errcode); rtllib_associate_abort(ieee); return; } @@ -2337,8 +2337,7 @@ static void rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb) if (ieee->open_wep || !challenge) { ieee->state = RTLLIB_ASSOCIATING_AUTHENTICATED; ieee->softmac_stats.rx_auth_rs_ok++; - if (!(ieee->pHTInfo->IOTAction & - HT_IOT_ACT_PURE_N_MODE)) { + if (!(ieee->pHTInfo->IOTAction & HT_IOT_ACT_PURE_N_MODE)) { if (!ieee->GetNmodeSupportBySecCfg(ieee->dev)) { if (IsHTHalfNmodeAPs(ieee)) { bSupportNmode = true; @@ -2353,27 +2352,22 @@ static void rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb) * encryption issue */ if (bSupportNmode) { ieee->SetWirelessMode(ieee->dev, - ieee->current_network.mode); + ieee->current_network.mode); } else { /*TODO*/ - ieee->SetWirelessMode(ieee->dev, - IEEE_G); + ieee->SetWirelessMode(ieee->dev, IEEE_G); } - if (ieee->current_network.mode == - IEEE_N_24G && bHalfSupportNmode) { - netdev_info(ieee->dev, - "======>enter half N mode\n"); - ieee->bHalfWirelessN24GMode = - true; - } else - ieee->bHalfWirelessN24GMode = - false; - + if ((ieee->current_network.mode == IEEE_N_24G) && + bHalfSupportNmode) { + netdev_info(ieee->dev, "======>enter half N mode\n"); + ieee->bHalfWirelessN24GMode = true; + } else { + ieee->bHalfWirelessN24GMode = false; + } rtllib_associate_step2(ieee); } else { - rtllib_auth_challenge(ieee, challenge, - chlen); + rtllib_auth_challenge(ieee, challenge, chlen); } } |