Lines Matching refs:scan_cmd
684 struct cmd_ds_802_11_scan *scan_cmd; in lbs_scan_worker() local
689 scan_cmd = kzalloc(LBS_SCAN_MAX_CMD_SIZE, GFP_KERNEL); in lbs_scan_worker()
690 if (scan_cmd == NULL) in lbs_scan_worker()
694 scan_cmd->bsstype = CMD_BSS_TYPE_ANY; in lbs_scan_worker()
705 tlv = scan_cmd->tlvbuffer; in lbs_scan_worker()
731 scan_cmd->hdr.size = cpu_to_le16(tlv - (u8 *)scan_cmd); in lbs_scan_worker()
732 lbs_deb_hex(LBS_DEB_SCAN, "SCAN_CMD", (void *)scan_cmd, in lbs_scan_worker()
733 sizeof(*scan_cmd)); in lbs_scan_worker()
734 lbs_deb_hex(LBS_DEB_SCAN, "SCAN_TLV", scan_cmd->tlvbuffer, in lbs_scan_worker()
735 tlv - scan_cmd->tlvbuffer); in lbs_scan_worker()
737 __lbs_cmd(priv, CMD_802_11_SCAN, &scan_cmd->hdr, in lbs_scan_worker()
738 le16_to_cpu(scan_cmd->hdr.size), in lbs_scan_worker()
753 kfree(scan_cmd); in lbs_scan_worker()