summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>2009-02-13 13:35:12 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 21:53:26 (GMT)
commit262d38706382ee58fff520c78acc7b28a6646118 (patch)
tree166e00112be6c2211c29b525c6a2cbfb3a3248ee /drivers/staging
parent39b41b23e27ca7d4425ad1f23189eef936394fdf (diff)
downloadlinux-fsl-qoriq-262d38706382ee58fff520c78acc7b28a6646118.tar.xz
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/agnx/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/agnx/pci.c b/drivers/staging/agnx/pci.c
index 131df9f..072d37e 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;