diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-11-21 10:33:38 (GMT) |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-12-01 19:17:56 (GMT) |
commit | 7281b16423cd9b8795ea319c65140f38fd8187a2 (patch) | |
tree | 639da1952c292330af8b0932ed9e2c1dc9556088 /drivers/net/wireless/intel/iwlwifi/mvm/rs.c | |
parent | 20f4d39a2822905f250650cd9cac49492c07758f (diff) | |
download | linux-7281b16423cd9b8795ea319c65140f38fd8187a2.tar.xz |
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: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/rs.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rs.c b/drivers/net/wireless/intel/iwlwifi/mvm/rs.c index 37c2db1..54789bd 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/rs.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/rs.c @@ -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) { |