aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2400pci.c
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2007-09-25 14:55:39 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:53:03 -0400
commit066cb637b1b562bebd09d237bfaaca6724f247e5 (patch)
tree340b3902e69246cb73e820bbd9994bd1bdcca402 /drivers/net/wireless/rt2x00/rt2400pci.c
parent12dadb9009723dd0512091643e6e403f9e1b25cb (diff)
[PATCH] rt2x00: Reorganize rt2x00dev->flags
The rt2x00dev->flags has become a chaos over time, this will reorganize the flags by renaming, deleting, adding and properly implement the flags. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2400pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2400pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c
index 03a94a33e6bd..faa47111a579 100644
--- a/drivers/net/wireless/rt2x00/rt2400pci.c
+++ b/drivers/net/wireless/rt2x00/rt2400pci.c
@@ -1374,7 +1374,7 @@ static int rt2400pci_init_eeprom(struct rt2x00_dev *rt2x00dev)
1374 * Detect if this device has an hardware controlled radio. 1374 * Detect if this device has an hardware controlled radio.
1375 */ 1375 */
1376 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_HARDWARE_RADIO)) 1376 if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_HARDWARE_RADIO))
1377 __set_bit(DEVICE_SUPPORT_HW_BUTTON, &rt2x00dev->flags); 1377 __set_bit(CONFIG_SUPPORT_HW_BUTTON, &rt2x00dev->flags);
1378 1378
1379 /* 1379 /*
1380 * Check if the BBP tuning should be enabled. 1380 * Check if the BBP tuning should be enabled.
@@ -1469,7 +1469,7 @@ static int rt2400pci_probe_hw(struct rt2x00_dev *rt2x00dev)
1469 /* 1469 /*
1470 * This device requires the beacon ring 1470 * This device requires the beacon ring
1471 */ 1471 */
1472 __set_bit(REQUIRE_BEACON_RING, &rt2x00dev->flags); 1472 __set_bit(DRIVER_REQUIRE_BEACON_RING, &rt2x00dev->flags);
1473 1473
1474 /* 1474 /*
1475 * Set the rssi offset. 1475 * Set the rssi offset.