1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

update d80211 to latest wireless-dev version

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6241 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2007-02-01 21:06:24 +00:00
parent 91ea78a842
commit 4b191d9789
18 changed files with 492 additions and 464 deletions

View File

@@ -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);
}