commit | 9328fdac499b969ec57a195845f168e7c5168ccd | [log] [tgz] |
---|---|---|
author | Gertjan van Wingerde <gwingerde@gmail.com> | Sat Apr 30 17:15:13 2011 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Mon May 02 14:49:17 2011 -0400 |
tree | 976fca4e43892e0869174af7f7d5bc9dcdc826e8 | |
parent | d4c838ef5e5c2c7e205adf9e011d2e8bd6eae738 [diff] |
rt2x00: Streamline rt2800 eeprom initialisations. In rt2800lib.c the rt2800_init_eeprom function the same eeprom words were read multiple times, due to inefficient ordering of the eeprom checks. Reorder the checks so that each EEPROM word only has to be read once. Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>