staging: rtl8187se: Add necessary whitespaces in while and do-while statements.
Fix whitespaces in do-while statements and while statements as the codingStyle of the kernel recommends in ieee80211/ieee80211_softmac.c Signed-off-by: Ana Rey <anarey@gmail.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
This commit is contained in:
parent
00dd31b3d4
commit
b78f1b3797
1 changed files with 12 additions and 14 deletions
|
@ -375,8 +375,7 @@ static void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee)
|
||||||
memcpy(channel_map, GET_DOT11D_INFO(ieee)->channel_map, MAX_CHANNEL_NUMBER+1);
|
memcpy(channel_map, GET_DOT11D_INFO(ieee)->channel_map, MAX_CHANNEL_NUMBER+1);
|
||||||
down(&ieee->scan_sem);
|
down(&ieee->scan_sem);
|
||||||
|
|
||||||
while(1)
|
while(1) {
|
||||||
{
|
|
||||||
do {
|
do {
|
||||||
ch++;
|
ch++;
|
||||||
if (ch > MAX_CHANNEL_NUMBER)
|
if (ch > MAX_CHANNEL_NUMBER)
|
||||||
|
@ -433,8 +432,7 @@ void ieee80211_softmac_ips_scan_syncro(struct ieee80211_device *ieee)
|
||||||
down(&ieee->scan_sem);
|
down(&ieee->scan_sem);
|
||||||
ch = ieee->current_network.channel;
|
ch = ieee->current_network.channel;
|
||||||
|
|
||||||
while(1)
|
while(1) {
|
||||||
{
|
|
||||||
/* this function can be called in two situations
|
/* this function can be called in two situations
|
||||||
* 1- We have switched to ad-hoc mode and we are
|
* 1- We have switched to ad-hoc mode and we are
|
||||||
* performing a complete syncro scan before conclude
|
* performing a complete syncro scan before conclude
|
||||||
|
|
Loading…
Add table
Reference in a new issue