|
@@ -479,7 +479,7 @@ static void ieee80211_softmac_scan_wq(struct work_struct *work)
|
|
|
{
|
|
|
struct delayed_work *dwork = to_delayed_work(work);
|
|
|
struct ieee80211_device *ieee = container_of(dwork, struct ieee80211_device, softmac_scan_wq);
|
|
|
- static short watchdog = 0;
|
|
|
+ static short watchdog;
|
|
|
u8 channel_map[MAX_CHANNEL_NUMBER+1];
|
|
|
memcpy(channel_map, GET_DOT11D_INFO(ieee)->channel_map, MAX_CHANNEL_NUMBER+1);
|
|
|
down(&ieee->scan_sem);
|