tftp_recv(): handle opcode field in a more natural way
RFC1350 uses the 'opcode' term for the first 2-bytes field
of TFTP packet. But the U-boot tftp code uses the 'proto' term
for the same thing.

The patch takes back original term and makes opcode calculation
more clear.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent fb6f331 commit 69957c548101c2c2a2e9cc5e588c610fb08d71a1
@Antony Pavlov Antony Pavlov authored on 28 Jun 2015
Sascha Hauer committed on 29 Jun 2015
Showing 1 changed file
View
fs/tftp.c