From b2e997983bece1d213c12d5533613e29f274868b Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 1 Sep 2008 11:03:46 +0000
Subject: [PATCH] madwifi: fix compile warning

SVN-Revision: 12450
---
 package/madwifi/patches/370-wdsvap.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/madwifi/patches/370-wdsvap.patch b/package/madwifi/patches/370-wdsvap.patch
index ee0a2de5bb..05e1ca7043 100644
--- a/package/madwifi/patches/370-wdsvap.patch
+++ b/package/madwifi/patches/370-wdsvap.patch
@@ -506,7 +506,7 @@
  	((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == IEEE80211_FC0_SUBTYPE_PS_POLL)
  	struct ieee80211_node_table *nt;
  	struct ieee80211_node *ni;
-+	u_int8_t *addr;
++	const u_int8_t *addr;
 +
 +	if (IS_CTL(wh) && !IS_PSPOLL(wh) /*&& !IS_RTS(ah)*/)
 +		addr = wh->i_addr1;
-- 
GitLab