X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/e979362991e95a1845cbd1aed1ac07df6455672b..7355d4d68bc5352ec20e670fbb2ed11f7bcabf30:/target/linux/generic-2.6/patches-2.6.29/903-hostap_txpower.patch diff --git a/target/linux/generic-2.6/patches-2.6.29/903-hostap_txpower.patch b/target/linux/generic-2.6/patches-2.6.29/903-hostap_txpower.patch index 09ac7a9c8..5e0abbc5d 100644 --- a/target/linux/generic-2.6/patches-2.6.29/903-hostap_txpower.patch +++ b/target/linux/generic-2.6/patches-2.6.29/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;