12-iw_handler-changes.patch: cast to struct ieee80211_device *
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 8 Oct 2009 20:16:47 +0000 (16:16 -0400)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 8 Oct 2009 20:16:47 +0000 (16:16 -0400)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/patches/12-iw_handler-changes.patch

index 5ca8dd62fbd9cf327c62847941ac22b5b48cd6c2..50c9b1a35e0379a1bb87e67e9fe6101020d74f17 100644 (file)
@@ -5,7 +5,7 @@
        dev->ethtool_ops = &ipw2100_ethtool_ops;
        dev->wireless_handlers = &ipw2100_wx_handler_def;
 -      priv->wireless_data.libipw = priv->ieee;
-+      priv->wireless_data.ieee80211 = priv->ieee;
++      priv->wireless_data.ieee80211 = (struct ieee80211_device *) priv->ieee;
        dev->wireless_data = &priv->wireless_data;
        dev->watchdog_timeo = 3 * HZ;
        dev->irq = 0;