]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
hostap: don't report useless WDS frames by default
authorPavel Roskin <proski@gnu.org>
Fri, 27 Jun 2008 20:19:52 +0000 (16:19 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 30 Jun 2008 19:43:52 +0000 (15:43 -0400)
DEBUG_EXTRA is reported to the kernel log by default, but DEBUG_EXTRA2
is not.  Unrelated WDS frames pollute the log unnecessarily.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_80211_rx.c

index 4fd73809602e7e8af816a30570b7da7306af71e3..47884c3d657810ccd96fa79c4936e7e08e2049e6 100644 (file)
@@ -551,7 +551,7 @@ hostap_rx_frame_wds(local_info_t *local, struct ieee80211_hdr_4addr *hdr,
             hdr->addr1[2] != 0xff || hdr->addr1[3] != 0xff ||
             hdr->addr1[4] != 0xff || hdr->addr1[5] != 0xff)) {
                /* RA (or BSSID) is not ours - drop */
-               PDEBUG(DEBUG_EXTRA, "%s: received WDS frame with "
+               PDEBUG(DEBUG_EXTRA2, "%s: received WDS frame with "
                       "not own or broadcast %s=%s\n",
                       local->dev->name,
                       fc & IEEE80211_FCTL_FROMDS ? "RA" : "BSSID",