driver: catch error on conn.capabilities

Signed-off-by: Hiroshi Miura <miurahr@linux.com>