diff options
author | Michael Büsch <mb@bu3sch.de> | 2008-02-15 22:47:47 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2008-02-15 22:47:47 +0000 |
commit | 7aa8523f3ec3a4e8de34785b036d1513c89663a1 (patch) | |
tree | 23c839cece6d908d1b71914c4ebf9576dfc8d07e /package/b43/src/rfkill.h | |
parent | af4c957a1efbedd0be25f3bdf48d10c8e2ca1677 (diff) | |
download | upstream-7aa8523f3ec3a4e8de34785b036d1513c89663a1.tar.gz upstream-7aa8523f3ec3a4e8de34785b036d1513c89663a1.tar.bz2 upstream-7aa8523f3ec3a4e8de34785b036d1513c89663a1.zip |
Upgrade b43 and mac80211.
This also temporarly disables hostapd support for mac80211, as hostapd needs patches to compile against latest mac80211.
Will do that in a seperate patch.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10466 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/b43/src/rfkill.h')
-rw-r--r-- | package/b43/src/rfkill.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/package/b43/src/rfkill.h b/package/b43/src/rfkill.h index 29544e8c9e..adacf936d8 100644 --- a/package/b43/src/rfkill.h +++ b/package/b43/src/rfkill.h @@ -15,14 +15,14 @@ struct b43_rfkill { struct rfkill *rfkill; /* The poll device for the RFKILL input button */ struct input_polled_dev *poll_dev; + /* Did initialization succeed? Used for freeing. */ + bool registered; /* The unique name of this rfkill switch */ - char name[32]; + char name[sizeof("b43-phy4294967295")]; }; -/* All the init functions return void, because we are not interested +/* The init function returns void, because we are not interested * in failing the b43 init process when rfkill init failed. */ -void b43_rfkill_alloc(struct b43_wldev *dev); -void b43_rfkill_free(struct b43_wldev *dev); void b43_rfkill_init(struct b43_wldev *dev); void b43_rfkill_exit(struct b43_wldev *dev); @@ -36,12 +36,6 @@ struct b43_rfkill { /* empty */ }; -static inline void b43_rfkill_alloc(struct b43_wldev *dev) -{ -} -static inline void b43_rfkill_free(struct b43_wldev *dev) -{ -} static inline void b43_rfkill_init(struct b43_wldev *dev) { } |