Lines Matching refs:confirm
2264 struct obj_mlmeex *confirm; in prism54_process_trap_helper() local
2352 confirm = kmalloc(sizeof(struct obj_mlmeex) + 6, GFP_ATOMIC); in prism54_process_trap_helper()
2354 if (!confirm) in prism54_process_trap_helper()
2357 memcpy(&confirm->address, mlmeex->address, ETH_ALEN); in prism54_process_trap_helper()
2360 confirm->id = -1; /* or mlmeex->id ? */ in prism54_process_trap_helper()
2361 confirm->state = 0; /* not used */ in prism54_process_trap_helper()
2362 confirm->code = 0; in prism54_process_trap_helper()
2363 confirm->size = 6; in prism54_process_trap_helper()
2364 confirm->data[0] = 0x00; in prism54_process_trap_helper()
2365 confirm->data[1] = 0x00; in prism54_process_trap_helper()
2366 confirm->data[2] = 0x02; in prism54_process_trap_helper()
2367 confirm->data[3] = 0x00; in prism54_process_trap_helper()
2368 confirm->data[4] = 0x00; in prism54_process_trap_helper()
2369 confirm->data[5] = 0x00; in prism54_process_trap_helper()
2371 ret = mgt_set_varlen(priv, DOT11_OID_ASSOCIATEEX, confirm, 6); in prism54_process_trap_helper()
2373 kfree(confirm); in prism54_process_trap_helper()
2390 confirm = kmalloc(sizeof(struct obj_mlmeex), GFP_ATOMIC); in prism54_process_trap_helper()
2392 if (!confirm) in prism54_process_trap_helper()
2395 memcpy(&confirm->address, mlmeex->address, ETH_ALEN); in prism54_process_trap_helper()
2397 confirm->id = ((struct obj_mlmeex *)mlme)->id; in prism54_process_trap_helper()
2398 confirm->state = 0; /* not used */ in prism54_process_trap_helper()
2399 confirm->code = 0; in prism54_process_trap_helper()
2406 kfree(confirm); in prism54_process_trap_helper()
2410 confirm->size = wpa_ie_len; in prism54_process_trap_helper()
2411 memcpy(&confirm->data, wpa_ie, wpa_ie_len); in prism54_process_trap_helper()
2413 mgt_set_varlen(priv, oid, confirm, wpa_ie_len); in prism54_process_trap_helper()
2415 kfree(confirm); in prism54_process_trap_helper()
2427 confirm = kmalloc(sizeof(struct obj_mlmeex), GFP_ATOMIC); in prism54_process_trap_helper()
2429 if (!confirm) in prism54_process_trap_helper()
2432 memcpy(&confirm->address, mlmeex->address, ETH_ALEN); in prism54_process_trap_helper()
2434 confirm->id = mlmeex->id; in prism54_process_trap_helper()
2435 confirm->state = 0; /* not used */ in prism54_process_trap_helper()
2436 confirm->code = 0; in prism54_process_trap_helper()
2443 kfree(confirm); in prism54_process_trap_helper()
2447 confirm->size = wpa_ie_len; in prism54_process_trap_helper()
2448 memcpy(&confirm->data, wpa_ie, wpa_ie_len); in prism54_process_trap_helper()
2450 mgt_set_varlen(priv, oid, confirm, wpa_ie_len); in prism54_process_trap_helper()
2452 kfree(confirm); in prism54_process_trap_helper()