aboutsummaryrefslogtreecommitdiffstats
path: root/package/d80211/src/sta_info.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-01 21:06:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-01 21:06:24 +0000
commitb19d8d36bbd68fdb2e2a8e62f3018820eca45fbe (patch)
treee7039d9c843559affd19199e59886e17362bc437 /package/d80211/src/sta_info.c
parent3fe6458e3bddf7e611315b3df4b5bd70b23d9348 (diff)
downloadupstream-b19d8d36bbd68fdb2e2a8e62f3018820eca45fbe.tar.gz
upstream-b19d8d36bbd68fdb2e2a8e62f3018820eca45fbe.tar.bz2
upstream-b19d8d36bbd68fdb2e2a8e62f3018820eca45fbe.zip
update d80211 to latest wireless-dev version
SVN-Revision: 6241
Diffstat (limited to 'package/d80211/src/sta_info.c')
-rw-r--r--package/d80211/src/sta_info.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/d80211/src/sta_info.c b/package/d80211/src/sta_info.c
index 0c42ae8074..e8f2bab3ff 100644
--- a/package/d80211/src/sta_info.c
+++ b/package/d80211/src/sta_info.c
@@ -342,9 +342,10 @@ static void sta_info_cleanup(unsigned long data)
}
-static void sta_info_proc_add_task(void *data)
+static void sta_info_proc_add_task(struct work_struct *work)
{
- struct ieee80211_local *local = data;
+ struct ieee80211_local *local =
+ container_of(work, struct ieee80211_local, sta_proc_add);
struct sta_info *sta, *tmp;
while (1) {
@@ -395,7 +396,7 @@ void sta_info_init(struct ieee80211_local *local)
local->sta_cleanup.data = (unsigned long) local;
local->sta_cleanup.function = sta_info_cleanup;
- INIT_WORK(&local->sta_proc_add, sta_info_proc_add_task, local);
+ INIT_WORK(&local->sta_proc_add, sta_info_proc_add_task);
}
int sta_info_start(struct ieee80211_local *local)
@@ -439,7 +440,7 @@ void sta_info_remove_aid_ptr(struct sta_info *sta)
sdata->local->ops->set_tim(local_to_hw(sdata->local),
sta->aid, 0);
if (sdata->bss)
- bss_tim_clear(sdata->local, sdata->bss, sta->aid);
+ __bss_tim_clear(sdata->bss, sta->aid);
}