diff options
Diffstat (limited to 'drivers/net/wireless/p54/p54common.c')
-rw-r--r-- | drivers/net/wireless/p54/p54common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c index 6d8248eac6e8..e96bf1a8f84c 100644 --- a/drivers/net/wireless/p54/p54common.c +++ b/drivers/net/wireless/p54/p54common.c | |||
@@ -93,7 +93,8 @@ int p54_parse_firmware(struct ieee80211_hw *dev, const struct firmware *fw) | |||
93 | u32 code = le32_to_cpu(bootrec->code); | 93 | u32 code = le32_to_cpu(bootrec->code); |
94 | switch (code) { | 94 | switch (code) { |
95 | case BR_CODE_COMPONENT_ID: | 95 | case BR_CODE_COMPONENT_ID: |
96 | switch (be32_to_cpu(*(__be32 *)bootrec->data)) { | 96 | priv->fw_interface = be32_to_cpup(bootrec->data); |
97 | switch (priv->fw_interface) { | ||
97 | case FW_FMAC: | 98 | case FW_FMAC: |
98 | printk(KERN_INFO "p54: FreeMAC firmware\n"); | 99 | printk(KERN_INFO "p54: FreeMAC firmware\n"); |
99 | break; | 100 | break; |
@@ -104,7 +105,7 @@ int p54_parse_firmware(struct ieee80211_hw *dev, const struct firmware *fw) | |||
104 | printk(KERN_INFO "p54: LM86 firmware\n"); | 105 | printk(KERN_INFO "p54: LM86 firmware\n"); |
105 | break; | 106 | break; |
106 | case FW_LM87: | 107 | case FW_LM87: |
107 | printk(KERN_INFO "p54: LM87 firmware - not supported yet!\n"); | 108 | printk(KERN_INFO "p54: LM87 firmware\n"); |
108 | break; | 109 | break; |
109 | default: | 110 | default: |
110 | printk(KERN_INFO "p54: unknown firmware\n"); | 111 | printk(KERN_INFO "p54: unknown firmware\n"); |