From: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Date: Fri, 13 Feb 2009 13:35:12 +0000 (-0500)
Subject: Staging: agnx: mac80211 hw config change flags
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=262d38706382ee58fff520c78acc7b28a6646118;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git

Staging: agnx: mac80211 hw config change flags

Adapt agnx after commit "mac80211: introduce hw config change flags",
detected by following build warning:
drivers/staging/agnx/pci.c:426: warning: initialization from incompatible pointer type

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---

diff --git a/drivers/staging/agnx/pci.c b/drivers/staging/agnx/pci.c
index 131df9f6c68d..072d37eb636d 100644
--- a/drivers/staging/agnx/pci.c
+++ b/drivers/staging/agnx/pci.c
@@ -286,10 +286,10 @@ static void agnx_stop(struct ieee80211_hw *dev)
 	rings_free(priv);
 }
 
-static int agnx_config(struct ieee80211_hw *dev,
-		       struct ieee80211_conf *conf)
+static int agnx_config(struct ieee80211_hw *dev, u32 changed)
 {
 	struct agnx_priv *priv = dev->priv;
+	struct ieee80211_conf *conf = &dev->conf;
 	int channel = ieee80211_frequency_to_channel(conf->channel->center_freq);
 	AGNX_TRACE;