summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.29/903-hostap_txpower.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.29/903-hostap_txpower.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.29/903-hostap_txpower.patch2
1 files changed, 1 insertions, 1 deletions
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 09ac7a9..5e0abbc 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;