Staging: agnx: mac80211 hw config change flags
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Fri, 13 Feb 2009 13:35:12 +0000 (08:35 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:26 +0000 (14:53 -0700)
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>
drivers/staging/agnx/pci.c

index 131df9f6c68dd3a0b60bb5ced83efdf76b9bc376..072d37eb636dc42d57ad1e2a3c7524849bd8f32a 100644 (file)
@@ -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;