event.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | event.c (7947d3e075cde1a18e538f2dafbc850aa356ff79) |
---|---|
1/* 2 * This file is part of wl1251 3 * 4 * Copyright (c) 1998-2007 Texas Instruments Incorporated 5 * Copyright (C) 2008 Nokia Corporation 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 22 unchanged lines hidden (view full) --- 31{ 32 int ret = 0; 33 34 wl1251_debug(DEBUG_EVENT, "status: 0x%x, channels: %d", 35 mbox->scheduled_scan_status, 36 mbox->scheduled_scan_channels); 37 38 if (wl->scanning) { | 1/* 2 * This file is part of wl1251 3 * 4 * Copyright (c) 1998-2007 Texas Instruments Incorporated 5 * Copyright (C) 2008 Nokia Corporation 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 22 unchanged lines hidden (view full) --- 31{ 32 int ret = 0; 33 34 wl1251_debug(DEBUG_EVENT, "status: 0x%x, channels: %d", 35 mbox->scheduled_scan_status, 36 mbox->scheduled_scan_channels); 37 38 if (wl->scanning) { |
39 ieee80211_scan_completed(wl->hw, false); | 39 struct cfg80211_scan_info info = { 40 .aborted = false, 41 }; 42 43 ieee80211_scan_completed(wl->hw, &info); |
40 wl1251_debug(DEBUG_MAC80211, "mac80211 hw scan completed"); 41 wl->scanning = false; 42 if (wl->hw->conf.flags & IEEE80211_CONF_IDLE) 43 ret = wl1251_ps_set_mode(wl, STATION_IDLE); 44 } 45 46 return ret; 47} --- 189 unchanged lines hidden --- | 44 wl1251_debug(DEBUG_MAC80211, "mac80211 hw scan completed"); 45 wl->scanning = false; 46 if (wl->hw->conf.flags & IEEE80211_CONF_IDLE) 47 ret = wl1251_ps_set_mode(wl, STATION_IDLE); 48 } 49 50 return ret; 51} --- 189 unchanged lines hidden --- |