Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1664483
| From | Kalle Valo <kvalo@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mwifiex: fixes the trivial print |
| Date | 2017-06-13 08:30 +0200 |
| Message-ID | <tRNuW-4sb-7@gated-at.bofh.it> (permalink) |
| References | <tQqAr-Yw-43@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Caesar Wang <wxt@rock-chips.com> writes:
> We have always met the unused log be printed as following.
>
> ...
> [23193.523182] mwifiex_pcie 0000:01:00.0: mwifiex_get_cfp:
> cannot find cfp by band 2 & channel=13 freq=0
> [23378.633684] mwifiex_pcie 0000:01:00.0: mwifiex_get_cfp:
> cannot find cfp by band 2 & channel=13 freq=0
>
> Maybe that's related to wifi regdom, since wifi default area
> was US and didn't support 12~14 channels.
>
> As Frequencies:
> * 2412 MHz [1] (30.0 dBm)
> * 2417 MHz [2] (30.0 dBm)
> * 2422 MHz [3] (30.0 dBm)
> * 2427 MHz [4] (30.0 dBm)
> * 2432 MHz [5] (30.0 dBm)
> * 2437 MHz [6] (30.0 dBm)
> * 2442 MHz [7] (30.0 dBm)
> * 2447 MHz [8] (30.0 dBm)
> * 2452 MHz [9] (30.0 dBm)
> * 2457 MHz [10] (30.0 dBm)
> * 2462 MHz [11] (30.0 dBm)
> * 2467 MHz [12] (disabled)
> * 2472 MHz [13] (disabled)
> * 2484 MHz [14] (disabled)
>
> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
> ---
>
> drivers/net/wireless/marvell/mwifiex/cfp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/marvell/mwifiex/cfp.c b/drivers/net/wireless/marvell/mwifiex/cfp.c
> index 1ff2205..6e29943 100644
> --- a/drivers/net/wireless/marvell/mwifiex/cfp.c
> +++ b/drivers/net/wireless/marvell/mwifiex/cfp.c
> @@ -350,7 +350,7 @@ mwifiex_get_cfp(struct mwifiex_private *priv, u8 band, u16 channel, u32 freq)
> }
> }
> if (i == sband->n_channels) {
> - mwifiex_dbg(priv->adapter, ERROR,
> + mwifiex_dbg(priv->adapter, WARN,
> "%s: cannot find cfp by band %d\t"
> "& channel=%d freq=%d\n",
> __func__, band, channel, freq);
I don't see how this fixes anything, care to explain? And the title is
quite vague.
And I would rather fix the root cause, mwifiex folks please comment.
--
Kalle Valo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] mwifiex: fixes the trivial print Caesar Wang <wxt@rock-chips.com> - 2017-06-09 13:50 +0200
Re: [PATCH] mwifiex: fixes the trivial print Kalle Valo <kvalo@codeaurora.org> - 2017-06-13 08:30 +0200
Re: [PATCH] mwifiex: fixes the trivial print Caesar Wang <wxt@rock-chips.com> - 2017-06-13 09:00 +0200
Re: [PATCH] mwifiex: fixes the trivial print Kalle Valo <kvalo@codeaurora.org> - 2017-06-13 09:10 +0200
Re: [PATCH] mwifiex: fixes the trivial print Caesar Wang <wxt@rock-chips.com> - 2017-06-13 09:50 +0200
Re: [PATCH] mwifiex: fixes the trivial print Kalle Valo <kvalo@codeaurora.org> - 2017-06-13 10:00 +0200
Re: Re: [PATCH] mwifiex: fixes the trivial print Xinming Hu <huxm@marvell.com> - 2017-06-13 12:00 +0200
Re: Re: [PATCH] mwifiex: fixes the trivial print Xinming Hu <huxm@marvell.com> - 2017-06-14 12:30 +0200
Re: [PATCH] mwifiex: fixes the trivial print Caesar Wang <wxt@rock-chips.com> - 2017-06-14 13:20 +0200
csiph-web