diff options
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_scan.c')
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_scan.c b/net/ieee80211/softmac/ieee80211softmac_scan.c index abea3648680e..bfab8d7db88f 100644 --- a/net/ieee80211/softmac/ieee80211softmac_scan.c +++ b/net/ieee80211/softmac/ieee80211softmac_scan.c | |||
@@ -123,7 +123,7 @@ void ieee80211softmac_scan(struct work_struct *work) | |||
123 | spin_unlock_irqrestore(&sm->lock, flags); | 123 | spin_unlock_irqrestore(&sm->lock, flags); |
124 | break; | 124 | break; |
125 | } | 125 | } |
126 | schedule_delayed_work(&si->softmac_scan, IEEE80211SOFTMAC_PROBE_DELAY); | 126 | queue_delayed_work(sm->wq, &si->softmac_scan, IEEE80211SOFTMAC_PROBE_DELAY); |
127 | spin_unlock_irqrestore(&sm->lock, flags); | 127 | spin_unlock_irqrestore(&sm->lock, flags); |
128 | return; | 128 | return; |
129 | } else { | 129 | } else { |
@@ -190,7 +190,7 @@ int ieee80211softmac_start_scan_implementation(struct net_device *dev) | |||
190 | sm->scaninfo->started = 1; | 190 | sm->scaninfo->started = 1; |
191 | sm->scaninfo->stop = 0; | 191 | sm->scaninfo->stop = 0; |
192 | INIT_COMPLETION(sm->scaninfo->finished); | 192 | INIT_COMPLETION(sm->scaninfo->finished); |
193 | schedule_delayed_work(&sm->scaninfo->softmac_scan, 0); | 193 | queue_delayed_work(sm->wq, &sm->scaninfo->softmac_scan, 0); |
194 | spin_unlock_irqrestore(&sm->lock, flags); | 194 | spin_unlock_irqrestore(&sm->lock, flags); |
195 | return 0; | 195 | return 0; |
196 | } | 196 | } |