Skip to content

Commit

Permalink
iwlwifi: mvm: rs: fix a warning message
Browse files Browse the repository at this point in the history
WARN_ON_ONCE() doesn't take a message, it only takes a condition.  I
have changed this to WARN(1, ...).

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
  • Loading branch information
Dan Carpenter authored and Emmanuel Grumbach committed Dec 1, 2015
1 parent 20f4d39 commit 7281b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/intel/iwlwifi/mvm/rs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7281b16

Please sign in to comment.