On Wednesday 03 September 2008 01:14:12 Tomas Winkler wrote: > > diff -Nurp a/drivers/net/wireless/p54/p54common.c > > b/drivers/net/wireless/p54/p54common.c --- > > a/drivers/net/wireless/p54/p54common.c 2008-09-01 22:25:35.000000000 > > +0200 +++ b/drivers/net/wireless/p54/p54common.c 2008-09-02 > > 21:29:47.000000000 +0200 @@ -93,7 +93,10 @@ int p54_parse_firmware(struct > > ieee80211_ > > u32 code = le32_to_cpu(bootrec->code); > > switch (code) { > > case BR_CODE_COMPONENT_ID: > > - switch (be32_to_cpu(*(__be32 *)bootrec->data)) { > > + priv->fw_interface = > > + be32_to_cpu(*(__be32 *)bootrec->data); > > what about be32_to_cpup? > Tomas whats the main difference between be32_to_cpu vs be32_to_cpus vs be32_to_cpup? Does the extra p just stand for something like "pointer"? hmm, if yes, >>*<<(__be32 *)bootrec->data. if no, please tell me more about it ;-). Regards, Chr -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html