aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.30/903-hostap_txpower.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2009-05-12 20:47:16 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2009-05-12 20:47:16 +0000
commit0e1d1a6f5639ff1966d69e8e829252d1a397aafe (patch)
tree636842c65d71a3a2db647d1118c13f206f13f49b /target/linux/generic-2.6/patches-2.6.30/903-hostap_txpower.patch
parent94c1598c3e70e397884bbaa611964fabbcd607a6 (diff)
downloadupstream-0e1d1a6f5639ff1966d69e8e829252d1a397aafe.tar.gz
upstream-0e1d1a6f5639ff1966d69e8e829252d1a397aafe.tar.bz2
upstream-0e1d1a6f5639ff1966d69e8e829252d1a397aafe.zip
Compile fix. Port r15775 to kernel 2.6.30.
SVN-Revision: 15803
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.30/903-hostap_txpower.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.30/903-hostap_txpower.patch2
1 files changed, 1 insertions, 1 deletions
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 89d60bd14e..197d0a1e32 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;