aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2500pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c
index 0ac5c589ddce..2f1cd929c6f6 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.c
+++ b/drivers/net/wireless/rt2x00/rt2500pci.c
@@ -13,9 +13,7 @@
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the 16 along with this program; if not, see <http://www.gnu.org/licenses/>.
17 Free Software Foundation, Inc.,
18 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 */ 17 */
20 18
21/* 19/*
@@ -26,7 +24,6 @@
26 24
27#include <linux/delay.h> 25#include <linux/delay.h>
28#include <linux/etherdevice.h> 26#include <linux/etherdevice.h>
29#include <linux/init.h>
30#include <linux/kernel.h> 27#include <linux/kernel.h>
31#include <linux/module.h> 28#include <linux/module.h>
32#include <linux/pci.h> 29#include <linux/pci.h>
@@ -1880,6 +1877,11 @@ static int rt2500pci_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
1880 EEPROM_MAC_ADDR_0)); 1877 EEPROM_MAC_ADDR_0));
1881 1878
1882 /* 1879 /*
1880 * Disable powersaving as default.
1881 */
1882 rt2x00dev->hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
1883
1884 /*
1883 * Initialize hw_mode information. 1885 * Initialize hw_mode information.
1884 */ 1886 */
1885 spec->supported_bands = SUPPORT_BAND_2GHZ; 1887 spec->supported_bands = SUPPORT_BAND_2GHZ;