diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 916b24c544e2..14beab4bc91c 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -2456,7 +2456,7 @@ static void ipw_eeprom_init_sram(struct ipw_priv *priv) | |||
2456 | copy. Otherwise let the firmware know to perform the operation | 2456 | copy. Otherwise let the firmware know to perform the operation |
2457 | on it's own | 2457 | on it's own |
2458 | */ | 2458 | */ |
2459 | if ((priv->eeprom + EEPROM_VERSION) != 0) { | 2459 | if (priv->eeprom[EEPROM_VERSION] != 0) { |
2460 | IPW_DEBUG_INFO("Writing EEPROM data into SRAM\n"); | 2460 | IPW_DEBUG_INFO("Writing EEPROM data into SRAM\n"); |
2461 | 2461 | ||
2462 | /* write the eeprom data to sram */ | 2462 | /* write the eeprom data to sram */ |