summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54.h
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2008-10-15 04:07:56 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-11-01 00:00:34 +0100
commit5e73444e91889ea6c7a83bc174ef8e8b6aaeea9b (patch)
tree84fb678e99ed7f52c4588861d45651dbea2f24e5 /drivers/net/wireless/p54/p54.h
parentp54: fix memory management (diff)
downloadlinux-5e73444e91889ea6c7a83bc174ef8e8b6aaeea9b.tar.xz
linux-5e73444e91889ea6c7a83bc174ef8e8b6aaeea9b.zip
p54: borrow some setup code from stlc45xx
This patch initialize all remaining values which are necessary for SPI firmwares. Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/p54.h')
-rw-r--r--drivers/net/wireless/p54/p54.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/p54/p54.h b/drivers/net/wireless/p54/p54.h
index e9988e78a0c2..7a3bf759a40e 100644
--- a/drivers/net/wireless/p54/p54.h
+++ b/drivers/net/wireless/p54/p54.h
@@ -15,7 +15,7 @@
*/
enum control_frame_types {
- P54_CONTROL_TYPE_FILTER_SET = 0,
+ P54_CONTROL_TYPE_SETUP = 0,
P54_CONTROL_TYPE_CHANNEL_CHANGE,
P54_CONTROL_TYPE_FREQDONE,
P54_CONTROL_TYPE_DCFINIT,
@@ -80,7 +80,7 @@ struct p54_common {
struct mutex conf_mutex;
u8 mac_addr[ETH_ALEN];
u8 bssid[ETH_ALEN];
- __le16 filter_type;
+ u16 mac_mode;
struct pda_iq_autocal_entry *iq_autocal;
unsigned int iq_autocal_len;
struct pda_channel_output_limit *output_limit;