wil6210: print debug message when transmitting while disconnected
Network stack can try to transmit data while AP / STA is disconnected. Change this print-out to debug level as this should not be handled as error. This patch also adds wil_dbg_ratelimited, used to limit the above print-out. Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
@@ -640,6 +640,8 @@ __printf(2, 3)
|
||||
void __wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...);
|
||||
__printf(2, 3)
|
||||
void __wil_info(struct wil6210_priv *wil, const char *fmt, ...);
|
||||
__printf(2, 3)
|
||||
void wil_dbg_ratelimited(const struct wil6210_priv *wil, const char *fmt, ...);
|
||||
#define wil_dbg(wil, fmt, arg...) do { \
|
||||
netdev_dbg(wil_to_ndev(wil), fmt, ##arg); \
|
||||
wil_dbg_trace(wil, fmt, ##arg); \
|
||||
|
Reference in New Issue
Block a user