greybus: uart-gb: fix up typo from previous patch moving the status variable around.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
diff --git a/drivers/staging/greybus/uart-gb.c b/drivers/staging/greybus/uart-gb.c
index 1be00d6..8df3bfb 100644
--- a/drivers/staging/greybus/uart-gb.c
+++ b/drivers/staging/greybus/uart-gb.c
@@ -159,6 +159,7 @@
gb_connection_err(tty->connection, "result %hhu",
operation->result);
} else {
+ response = operation->response.payload;
if (response->major > GB_UART_VERSION_MAJOR) {
pr_err("unsupported major version (%hhu > %hhu)\n",
response->major, GB_UART_VERSION_MAJOR);