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

Commit 7281b164 authored by Dan Carpenter's avatar Dan Carpenter Committed by Emmanuel Grumbach
Browse files

iwlwifi: mvm: rs: fix a warning message



WARN_ON_ONCE() doesn't take a message, it only takes a condition.  I
have changed this to WARN(1, ...).

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 20f4d39a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1827,7 +1827,7 @@ static int rs_switch_to_column(struct iwl_mvm *mvm,
		rate->type = lq_sta->is_vht ? LQ_VHT_MIMO2 : LQ_HT_MIMO2;
		rate_mask = lq_sta->active_mimo2_rate;
	} else {
		WARN_ON_ONCE("Bad column mode");
		WARN_ONCE(1, "Bad column mode");
	}

	if (column->mode != RS_LEGACY) {