libertas: fix command size for CMD_802_11_SUBSCRIBE_EVENT

The size was two small by two bytes.

Signed-off-by: Holger Schurig
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by Holger Schurig and committed by John W. Linville a75eda43 a6d4eae8

+2 -2
+2 -2
drivers/net/wireless/libertas/debugfs.c
··· 312 if (tlv_type != TLV_TYPE_BCNMISS) 313 tlv->freq = freq; 314 315 - /* The command header, the event mask, and the one TLV */ 316 - events->hdr.size = cpu_to_le16(sizeof(events->hdr) + 2 + sizeof(*tlv)); 317 318 ret = lbs_cmd_with_response(priv, CMD_802_11_SUBSCRIBE_EVENT, events); 319
··· 312 if (tlv_type != TLV_TYPE_BCNMISS) 313 tlv->freq = freq; 314 315 + /* The command header, the action, the event mask, and one TLV */ 316 + events->hdr.size = cpu_to_le16(sizeof(events->hdr) + 4 + sizeof(*tlv)); 317 318 ret = lbs_cmd_with_response(priv, CMD_802_11_SUBSCRIBE_EVENT, events); 319