Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b78f1b37 authored by Ana Rey's avatar Ana Rey Committed by Peter P Waskiewicz Jr
Browse files

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: default avatarAna Rey <anarey@gmail.com>
Signed-off-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
parent 00dd31b3
Loading
Loading
Loading
Loading
+12 −14
Original line number Diff line number Diff line
@@ -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);
	down(&ieee->scan_sem);

	while(1)
	{
	while(1) {
		do {
			ch++;
			if (ch > MAX_CHANNEL_NUMBER)
@@ -433,8 +432,7 @@ void ieee80211_softmac_ips_scan_syncro(struct ieee80211_device *ieee)
        down(&ieee->scan_sem);
	ch = ieee->current_network.channel;

     	while(1)
        {
	while(1) {
		/* this function can be called in two situations
		 * 1- We have switched to ad-hoc mode and we are
		 *    performing a complete syncro scan before conclude