GAS: Remove all radio works before calling gas_query_deinit()
authorIlan Peer <ilan.peer@intel.com>
Mon, 1 Jun 2015 10:38:10 +0000 (13:38 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 10 Jun 2015 23:57:34 +0000 (02:57 +0300)
commit57e832de37ea0a82e650d8230457e0868a01b72e
tree5bd52f783327319a2480a5871463857bd452f0dc
parent1a5041791e3f08106135e64e2397612e456d70ae
GAS: Remove all radio works before calling gas_query_deinit()

Remove all gas-query radio works before calling gas_query_deinit()
as gas_query_deinit() flow frees the query context, which might
be later be accessed from the radio work callback (and result
with unexpected behavior, e.g., segmentation fault).

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
wpa_supplicant/wpa_supplicant.c