X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/27c303501e47f15ba64569c28b1a1a125ba1714b..19b6acd0905aef3f8718e694c0264ef5ddcf6403:/target/linux/generic-2.6/patches-2.6.30/903-hostap_txpower.patch?ds=inline diff --git a/target/linux/generic-2.6/patches-2.6.30/903-hostap_txpower.patch b/target/linux/generic-2.6/patches-2.6.30/903-hostap_txpower.patch index 89d60bd14..197d0a1e3 100644 --- a/target/linux/generic-2.6/patches-2.6.30/903-hostap_txpower.patch +++ b/target/linux/generic-2.6/patches-2.6.30/903-hostap_txpower.patch @@ -125,7 +125,7 @@ + +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;