ath9k-devel.lists.ath9k.org archive mirror
 help / color / mirror / Atom feed
* [ath9k-devel] [patch] ath9k: indent an if statement
@ 2016-08-03 18:43 Dan Carpenter
  2016-08-06 14:57 ` Julian Calaby
  2016-08-31  8:28 ` Kalle Valo
  0 siblings, 2 replies; 3+ messages in thread
From: Dan Carpenter @ 2016-08-03 18:43 UTC (permalink / raw)
  To: ath9k-devel

It looks like this code is correct, but it just needs to be indented a
bit.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index a394622..eb00724 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -919,7 +919,7 @@ static void ath9k_vif_iter_set_beacon(struct ath9k_vif_iter_data *iter_data,
 	} else {
 		if (iter_data->primary_beacon_vif->type != NL80211_IFTYPE_AP &&
 		    vif->type == NL80211_IFTYPE_AP)
-		iter_data->primary_beacon_vif = vif;
+			iter_data->primary_beacon_vif = vif;
 	}
 
 	iter_data->beacons = true;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [ath9k-devel] [patch] ath9k: indent an if statement
  2016-08-03 18:43 [ath9k-devel] [patch] ath9k: indent an if statement Dan Carpenter
@ 2016-08-06 14:57 ` Julian Calaby
  2016-08-31  8:28 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Julian Calaby @ 2016-08-06 14:57 UTC (permalink / raw)
  To: ath9k-devel

Hi All,

On Thu, Aug 4, 2016 at 4:43 AM, Dan Carpenter <dan.carpenter@oracle.com> wrote:
> It looks like this code is correct, but it just needs to be indented a
> bit.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Looks right to me.

Reviewed-by: Julian Calaby <julian.calaby@gmail.com>

Thanks,

-- 
Julian Calaby

Email: julian.calaby at gmail.com
Profile: http://www.google.com/profiles/julian.calaby/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ath9k-devel] [patch] ath9k: indent an if statement
  2016-08-03 18:43 [ath9k-devel] [patch] ath9k: indent an if statement Dan Carpenter
  2016-08-06 14:57 ` Julian Calaby
@ 2016-08-31  8:28 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2016-08-31  8:28 UTC (permalink / raw)
  To: ath9k-devel

Dan Carpenter <dan.carpenter@oracle.com> writes:

> It looks like this code is correct, but it just needs to be indented a
> bit.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Doesn't apply anymore:

Importing patch "ath9k-indent-an-if-statement" ... error: patch failed: drivers/net/wireless/ath/ath9k/main.c:919
error: drivers/net/wireless/ath/ath9k/main.c: patch does not apply
stg import: Diff does not apply cleanly

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-31  8:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-03 18:43 [ath9k-devel] [patch] ath9k: indent an if statement Dan Carpenter
2016-08-06 14:57 ` Julian Calaby
2016-08-31  8:28 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).