aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.29/903-hostap_txpower.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2009-05-11 20:20:41 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2009-05-11 20:20:41 +0000
commit1b481e07088d1a65d5d3439e370467bc6014ce8c (patch)
tree71afb5cd125c3c5cb3460d385f40632f48a38033 /target/linux/generic-2.6/patches-2.6.29/903-hostap_txpower.patch
parente0158d5d8c2062e8cfe81436d84dfcedb4033b3b (diff)
downloadupstream-1b481e07088d1a65d5d3439e370467bc6014ce8c.tar.gz
upstream-1b481e07088d1a65d5d3439e370467bc6014ce8c.tar.bz2
upstream-1b481e07088d1a65d5d3439e370467bc6014ce8c.zip
Compile fixes for kernel 2.6.29. The 200-sched_esfq.patch is based on http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/~checkout~/SOURCES.old/kernel-esfq.patch?rev=1.4;content-type=text%2Fplain
SVN-Revision: 15775
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 09ac7a9c8e..5e0abbc5d7 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;