|
@@ -774,7 +774,7 @@ void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr,
|
|
|
void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr,
|
|
|
struct p80211pstrd *pstr)
|
|
|
{
|
|
|
- pstr->len = (u8)(le16_to_cpu((u16)(bytestr->len)));
|
|
|
+ pstr->len = (u8)(le16_to_cpu(bytestr->len));
|
|
|
memcpy(pstr->data, bytestr->data, pstr->len);
|
|
|
}
|
|
|
|