buffet: Fix notification channel update after device registration

Buffet failed to notify GCD server of channel change when the original
resource update request was in flight.

Make sure to queue the channel update request if the initial update
is in flight.

BUG=brillo:1268
TEST=`FEATURES=test emerge-link buffet`
     `test_that -b link <ip> "e:buffet_.*"`

Change-Id: Ia9e78a8b01658f5b1cf2243eab8db256673f14e8
Reviewed-on: https://chromium-review.googlesource.com/290390
Trybot-Ready: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Christopher Book <cbook@chromium.org>
Reviewed-by: Christopher Book <cbook@chromium.org>
1 file changed