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

Commit e81c7e93 authored by Joe Perches's avatar Joe Perches Committed by John W. Linville
Browse files

brcmsmac: Downgrade d11hdrs_mac80211 error messages to warnings.



These messages don't seem to be errors but notifications
that some attribute isn't quite right.

Don't mark them as errors.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent bdb084b2
Loading
Loading
Loading
Loading
+13 −16
Original line number Diff line number Diff line
@@ -6443,9 +6443,8 @@ brcms_c_d11hdrs_mac80211(struct brcms_c_info *wlc, struct ieee80211_hw *hw,

			if ((txrate[k]->flags & IEEE80211_TX_RC_MCS)
			    && (!is_mcs_rate(rspec[k]))) {
				brcms_err(wlc->hw->d11core,
					  "wl%d: %s: IEEE80211_TX_"
					  "RC_MCS != is_mcs_rate(rspec)\n",
				brcms_warn(wlc->hw->d11core,
					   "wl%d: %s: IEEE80211_TX_RC_MCS != is_mcs_rate(rspec)\n",
					   wlc->pub->unit, __func__);
			}

@@ -6838,17 +6837,15 @@ brcms_c_d11hdrs_mac80211(struct brcms_c_info *wlc, struct ieee80211_hw *hw,
					wlc->fragthresh[queue] =
					    (u16) newfragthresh;
			} else {
				brcms_err(wlc->hw->d11core,
					  "wl%d: %s txop invalid "
					  "for rate %d\n",
				brcms_warn(wlc->hw->d11core,
					   "wl%d: %s txop invalid for rate %d\n",
					   wlc->pub->unit, fifo_names[queue],
					   rspec2rate(rspec[0]));
			}

			if (dur > wlc->edcf_txop[ac])
				brcms_err(wlc->hw->d11core,
					  "wl%d: %s: %s txop "
					  "exceeded phylen %d/%d dur %d/%d\n",
				brcms_warn(wlc->hw->d11core,
					   "wl%d: %s: %s txop exceeded phylen %d/%d dur %d/%d\n",
					   wlc->pub->unit, __func__,
					   fifo_names[queue],
					   phylen, wlc->fragthresh[queue],