提交 e81c7e93 编写于 作者: J Joe Perches 提交者: John W. Linville

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: NJoe Perches <joe@perches.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 bdb084b2
...@@ -6443,10 +6443,9 @@ brcms_c_d11hdrs_mac80211(struct brcms_c_info *wlc, struct ieee80211_hw *hw, ...@@ -6443,10 +6443,9 @@ brcms_c_d11hdrs_mac80211(struct brcms_c_info *wlc, struct ieee80211_hw *hw,
if ((txrate[k]->flags & IEEE80211_TX_RC_MCS) if ((txrate[k]->flags & IEEE80211_TX_RC_MCS)
&& (!is_mcs_rate(rspec[k]))) { && (!is_mcs_rate(rspec[k]))) {
brcms_err(wlc->hw->d11core, brcms_warn(wlc->hw->d11core,
"wl%d: %s: IEEE80211_TX_" "wl%d: %s: IEEE80211_TX_RC_MCS != is_mcs_rate(rspec)\n",
"RC_MCS != is_mcs_rate(rspec)\n", wlc->pub->unit, __func__);
wlc->pub->unit, __func__);
} }
if (is_mcs_rate(rspec[k])) { if (is_mcs_rate(rspec[k])) {
...@@ -6838,21 +6837,19 @@ brcms_c_d11hdrs_mac80211(struct brcms_c_info *wlc, struct ieee80211_hw *hw, ...@@ -6838,21 +6837,19 @@ brcms_c_d11hdrs_mac80211(struct brcms_c_info *wlc, struct ieee80211_hw *hw,
wlc->fragthresh[queue] = wlc->fragthresh[queue] =
(u16) newfragthresh; (u16) newfragthresh;
} else { } else {
brcms_err(wlc->hw->d11core, brcms_warn(wlc->hw->d11core,
"wl%d: %s txop invalid " "wl%d: %s txop invalid for rate %d\n",
"for rate %d\n", wlc->pub->unit, fifo_names[queue],
wlc->pub->unit, fifo_names[queue], rspec2rate(rspec[0]));
rspec2rate(rspec[0]));
} }
if (dur > wlc->edcf_txop[ac]) if (dur > wlc->edcf_txop[ac])
brcms_err(wlc->hw->d11core, brcms_warn(wlc->hw->d11core,
"wl%d: %s: %s txop " "wl%d: %s: %s txop exceeded phylen %d/%d dur %d/%d\n",
"exceeded phylen %d/%d dur %d/%d\n", wlc->pub->unit, __func__,
wlc->pub->unit, __func__, fifo_names[queue],
fifo_names[queue], phylen, wlc->fragthresh[queue],
phylen, wlc->fragthresh[queue], dur, wlc->edcf_txop[ac]);
dur, wlc->edcf_txop[ac]);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册