snep: Fix fragmented GET
authorSamuel Ortiz <sameo@linux.intel.com>
Sat, 8 Jun 2013 00:23:46 +0000 (02:23 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 8 Jun 2013 00:23:46 +0000 (02:23 +0200)
commit66e78c45b555d54324f05adf6d51cbfe42c51bd4
treebe969f23a2756aa6d3b35b61d3e4eb659cb77f2c
parent68ec1eb2e96a92d0a814309d60856151eb0d1581
snep: Fix fragmented GET

When receiving a CONTINUE while nfc_data_length is set to 0, it must
be a CONTINUE for a fragmented GET. The headers are thus read in order
to modify snep_data->request and then process the right request.
This fixes the GET fragmented unit test.
src/snep.c