remove linux 2.4 specific build system code
[openwrt/staging/wigyori.git] / target / linux / generic-2.6 / patches-2.6.30 / 903-hostap_txpower.patch
index 89d60bd14e85e9392d27f48d45b74596171ec8de..197d0a1e32fd05739da7b25dfdeef4e7974ea146 100644 (file)
 +
 +int hostap_restore_power(struct net_device *dev)
 +{
-+        struct hostap_interface *iface = dev->priv;
++        struct hostap_interface *iface = netdev_priv(dev);
 +       local_info_t *local = iface->local;
 +
 +       u16 val;