diff options
author | YAMANE Toshiaki <yamanetoshi@gmail.com> | 2012-11-27 21:09:02 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-27 09:20:30 -0800 |
commit | 0a0cd35385835f632cf3fee5a46bcef66da98014 (patch) | |
tree | 9587cc6f6ebab54111f2587b5beed0c26103f8e7 /drivers/staging/rtl8187se | |
parent | c90b80bf21a6b954bd6e60bc9f1fdc6237a06335 (diff) | |
download | linux-0a0cd35385835f632cf3fee5a46bcef66da98014.tar.gz linux-0a0cd35385835f632cf3fee5a46bcef66da98014.tar.bz2 linux-0a0cd35385835f632cf3fee5a46bcef66da98014.zip |
staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_softmac_wx.c
The following warnings fixed.
- WARNING: suspect code indent for conditional statements
Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8187se')
-rw-r--r-- | drivers/staging/rtl8187se/ieee80211/ieee80211_softmac_wx.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac_wx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac_wx.c index 0b82c600cc88..63524caef6cc 100644 --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac_wx.c +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac_wx.c @@ -69,9 +69,8 @@ int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info if (ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER) if (ieee->state == IEEE80211_LINKED) { - - ieee80211_stop_send_beacons(ieee); - ieee80211_start_send_beacons(ieee); + ieee80211_stop_send_beacons(ieee); + ieee80211_start_send_beacons(ieee); } } @@ -219,9 +218,9 @@ int ieee80211_wx_set_rate(struct ieee80211_device *ieee, //added by lizhaoming for auto mode if (target_rate == -1) { - ieee->rate = 110; + ieee->rate = 110; } else { - ieee->rate = target_rate/100000; + ieee->rate = target_rate/100000; } //FIXME: we might want to limit rate also in management protocols. return 0; |