drivers/net/wireless: correct check on CCS_START_NETWORK
authorJulia Lawall <julia@diku.dk>
Sun, 8 Nov 2009 08:23:07 +0000 (09:23 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Nov 2009 20:23:55 +0000 (15:23 -0500)
commitf9ef6028b2c1272a2f12299053efef90e8721f21
tree5e1588cfcbb595029112655cc0ae5d9522806d39
parent3e8b4d006ed04b1ddb7450faee7fa429e2a00e48
drivers/net/wireless: correct check on CCS_START_NETWORK

CCS_START_NETWORK is declared in drivers/net/wireless/rayctl.h with the
comment Values for cmd.  status is previously compared to
CCS_COMMAND_COMPLETE, which is declared in the same file with the comment
Values for buffer_status.  Finally, it is possible at this point that cmd
is CCS_START_NETWORK, because it is compared to that value in an enclosing
switch that has CCS_START_NETWORK as one of two case labels around this code.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ray_cs.c