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

Commit aec41a0d authored by Jiri Benc's avatar Jiri Benc Committed by John W. Linville
Browse files

[PATCH] ieee80211: don't flood log with errors

The "ieee80211: Workaround malformed 802.11 frames from AP" patch (see
http://kernel.org/git/?p=linux/kernel/git/linville/wireless-2.6.git;a=commit;h=f09fc44d8c25f22c4d985bb93857338ed02feac6

 )
fixes the problem with some buggy APs but also converts debug message into
an error one. This floods the log with errors when you are near such AP (you
get a message for every beacon). This patch reverts the error message back
to the debug one.

Signed-off-by: default avatarJiri Benc <jbenc@suse.cz>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 16b7b2ac
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -1078,7 +1078,7 @@ static int ieee80211_parse_info_param(struct ieee80211_info_element

	while (length >= sizeof(*info_element)) {
		if (sizeof(*info_element) + info_element->len > length) {
			IEEE80211_ERROR("Info elem: parse failed: "
			IEEE80211_DEBUG_MGMT("Info elem: parse failed: "
					     "info_element->len + 2 > left : "
					     "info_element->len+2=%zd left=%d, id=%d.\n",
					     info_element->len +