Drivers: hv: vmbus: Fix a bug in the handling of channel offers
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 26 Aug 2013 21:08:58 +0000 (14:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Aug 2013 04:49:26 +0000 (21:49 -0700)
commit42dceebe34600b2d02a38baa3e869009ba3d14c7
tree0ae78b0a2c9c1c1f651ac1d11196e8e371c68b91
parentef22d576dd9d028dba53476bbcfc36aa1b5d768b
Drivers: hv: vmbus: Fix a bug in the handling of channel offers

The channel state should be correctly set before registering the device. In the current
code the driver probe would fail for channels that have been rescinded and subsequently
re-offered. Fix the bug.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: stable <stable@vger.kernel.org> # 3.11
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c