Skip to content

Commit

Permalink
staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_so…
Browse files Browse the repository at this point in the history
…ftmac_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>
  • Loading branch information
YAMANE Toshiaki authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent c90b80b commit 0a0cd35
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions drivers/staging/rtl8187se/ieee80211/ieee80211_softmac_wx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 0a0cd35

Please sign in to comment.