summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtl818x/rtl8180/rtl8180.h
diff options
context:
space:
mode:
authorAndrea Merello <andrea.merello@gmail.com>2014-03-15 21:29:38 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-03-17 21:44:15 +0400
commit7d4b829a93c9b2bd1ed68c26f42e803041726f4b (patch)
tree9891d57b30f91622732c7cb2ed0247658bd26daa /drivers/net/wireless/rtl818x/rtl8180/rtl8180.h
parent9069af794e8219d3ee4dff8aa84b2d201472ad16 (diff)
downloadlinux-7d4b829a93c9b2bd1ed68c26f42e803041726f4b.tar.xz
rtl8180: move eeprom read stuff in a separate function
Eeprom read operations are mixed in the probe function. Make the code more readable and clean by extracting this code and moving it in a dedicated function. The variable eeprom_cck_table_adr, now useless, is here because it will be needed for rtl8187se support, that I hope to add soon. Signed-off-by: Andrea Merello <andrea.merello@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl818x/rtl8180/rtl8180.h')
-rw-r--r--drivers/net/wireless/rtl818x/rtl8180/rtl8180.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8180/rtl8180.h b/drivers/net/wireless/rtl818x/rtl8180/rtl8180.h
index 7014bf0051a3..26383d77fc3a 100644
--- a/drivers/net/wireless/rtl818x/rtl8180/rtl8180.h
+++ b/drivers/net/wireless/rtl818x/rtl8180/rtl8180.h
@@ -91,7 +91,8 @@ struct rtl8180_priv {
u32 anaparam;
u16 rfparam;
u8 csthreshold;
-
+ u8 mac_addr[ETH_ALEN];
+ u8 rf_type;
/* sequence # */
u16 seqno;
};