Commit bf8996dc2419083f2d4d5e7d271c7156a92a268e
Committed by
Greg Kroah-Hartman
1 parent
d5a76f3351
Exists in
master
and in
4 other branches
drivers:rtl8187se:remove the use of obsolete create_workqueue in ieee80211_softmac.c
Remove the use of obsolete create_workqueue(name, 0) in ieee80211_softmac.c, since the create_workqueue interface has changed. Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Showing 1 changed file with 1 additions and 4 deletions Side-by-side Diff
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
... | ... | @@ -2568,11 +2568,8 @@ |
2568 | 2568 | ieee->beacon_timer.data = (unsigned long) ieee; |
2569 | 2569 | ieee->beacon_timer.function = ieee80211_send_beacon_cb; |
2570 | 2570 | |
2571 | -#ifdef PF_SYNCTHREAD | |
2572 | - ieee->wq = create_workqueue(DRV_NAME,0); | |
2573 | -#else | |
2574 | 2571 | ieee->wq = create_workqueue(DRV_NAME); |
2575 | -#endif | |
2572 | + | |
2576 | 2573 | INIT_DELAYED_WORK(&ieee->start_ibss_wq,(void*) ieee80211_start_ibss_wq); |
2577 | 2574 | INIT_WORK(&ieee->associate_complete_wq,(void*) ieee80211_associate_complete_wq); |
2578 | 2575 | INIT_WORK(&ieee->associate_procedure_wq,(void*) ieee80211_associate_procedure_wq); |