Hi John, On Fri, 13 Apr 2012 12:30:55 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote: > > @@@ -609,10 -605,9 +612,10 @@@ > inst_size = img->sec[IWL_UCODE_SECTION_INST].len; > data_size = img->sec[IWL_UCODE_SECTION_DATA].len; > } > - if (nla_put_u32(skb, IWL_TM_ATTR_FW_TYPE, priv->shrd->ucode_type) || > - NLA_PUT_U32(skb, IWL_TM_ATTR_FW_TYPE, priv->cur_ucode); > - NLA_PUT_U32(skb, IWL_TM_ATTR_FW_INST_SIZE, inst_size); > - NLA_PUT_U32(skb, IWL_TM_ATTR_FW_DATA_SIZE, data_size); > ++ if (nla_put_u32(skb, IWL_TM_ATTR_FW_TYPE, priv->ucode_type) || ^^^^^^^^^^ That should have been "cur_ucode", of course :-( -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/
Attachment:
pgpeGbEEfa4yy.pgp
Description: PGP signature