mac80211: Increase MAX_MSG_LEN

Looks that 100 chars isn't enough for messages, as we keep getting
warnings popping from different places due to message shortening.
Instead of trying to shorten the prints, just increase the buffer size.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Andrei Otcheretianski 2019-03-15 17:38:57 +02:00 committed by Johannes Berg
parent 40586e3fc4
commit 78be2d21cc
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0 */ /* SPDX-License-Identifier: GPL-2.0 */
/*
* Portions of this file
* Copyright (C) 2019 Intel Corporation
*/
#ifdef CONFIG_MAC80211_MESSAGE_TRACING #ifdef CONFIG_MAC80211_MESSAGE_TRACING
#if !defined(__MAC80211_MSG_DRIVER_TRACE) || defined(TRACE_HEADER_MULTI_READ) #if !defined(__MAC80211_MSG_DRIVER_TRACE) || defined(TRACE_HEADER_MULTI_READ)
@ -11,7 +16,7 @@
#undef TRACE_SYSTEM #undef TRACE_SYSTEM
#define TRACE_SYSTEM mac80211_msg #define TRACE_SYSTEM mac80211_msg
#define MAX_MSG_LEN 100 #define MAX_MSG_LEN 120
DECLARE_EVENT_CLASS(mac80211_msg_event, DECLARE_EVENT_CLASS(mac80211_msg_event,
TP_PROTO(struct va_format *vaf), TP_PROTO(struct va_format *vaf),