Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183543
b: refs/heads/master
c: 1990ca6
h: refs/heads/master
i:
  183541: cbea4e0
  183539: 3d32208
  183535: 65467ad
v: v3
  • Loading branch information
Kalle Valo authored and John W. Linville committed Jan 5, 2010
1 parent 4d1a23c commit 04b2296
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 29401f6630c02ce996561bf2667d84ecdfacb823
refs/heads/master: 1990ca6113399be9249433d5ab377a2a444f1dd8
12 changes: 6 additions & 6 deletions trunk/net/mac80211/work.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,9 +531,9 @@ ieee80211_remain_on_channel_timeout(struct ieee80211_work *wk)
wk->remain.started = true;
wk->timeout = jiffies + msecs_to_jiffies(wk->remain.duration);

cfg80211_ready_on_channel(wk->sdata->dev, (u64)wk, wk->chan,
wk->chan_type, wk->remain.duration,
GFP_KERNEL);
cfg80211_ready_on_channel(wk->sdata->dev, (unsigned long) wk,
wk->chan, wk->chan_type,
wk->remain.duration, GFP_KERNEL);

return WORK_ACT_NONE;
}
Expand Down Expand Up @@ -1027,7 +1027,7 @@ static enum work_done_result ieee80211_remain_done(struct ieee80211_work *wk,
/*
* We are done serving the remain-on-channel command.
*/
cfg80211_remain_on_channel_expired(wk->sdata->dev, (u64)wk,
cfg80211_remain_on_channel_expired(wk->sdata->dev, (unsigned long) wk,
wk->chan, wk->chan_type,
GFP_KERNEL);

Expand All @@ -1053,7 +1053,7 @@ int ieee80211_wk_remain_on_channel(struct ieee80211_sub_if_data *sdata,

wk->remain.duration = duration;

*cookie = (u64)wk;
*cookie = (unsigned long) wk;

ieee80211_add_work(wk);

Expand All @@ -1069,7 +1069,7 @@ int ieee80211_wk_cancel_remain_on_channel(struct ieee80211_sub_if_data *sdata,

mutex_lock(&local->work_mtx);
list_for_each_entry_safe(wk, tmp, &local->work_list, list) {
if ((u64)wk == cookie) {
if ((unsigned long) wk == cookie) {
wk->timeout = jiffies;
found = true;
break;
Expand Down

0 comments on commit 04b2296

Please sign in to comment.