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

Commit e53aac42 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka
Browse files

iwlegacy: move IL_MASK

parent 6278ddab
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4944,6 +4944,8 @@ static const s8 default_queue_to_tx_fifo[] = {
	IL_TX_FIFO_UNUSED,
};

#define IL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo))))

static int il4965_alive_notify(struct il_priv *il)
{
	u32 a;
+0 −3
Original line number Diff line number Diff line
@@ -35,9 +35,6 @@

#include "iwl-io.h"

#define IL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo))))


/**
 * il_queue_inc_wrap - increment queue idx, wrap back to beginning
 * @idx -- current idx