diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-12 20:47:16 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-12 20:47:16 +0000 |
commit | 9807e436bd623fc7568618ad760bbf5dd74f3434 (patch) | |
tree | ae2342988462c3c3828fde811632f6da0f8d61a9 /target/linux/generic-2.6/patches-2.6.30/903-hostap_txpower.patch | |
parent | 42f55dc34b24ea17c7752d489ba9887b7b34ea18 (diff) |
[kernel] Compile fix.
Port r15775 to kernel 2.6.30.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15803 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 2 |
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; |