xen: netfront: assume all hw features are available until backend connection setup
authorIan Campbell <ian.campbell@citrix.com>
Mon, 4 Apr 2011 18:07:57 +0000 (11:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Apr 2011 18:07:57 +0000 (11:07 -0700)
commitfc3e5941248be00996150965a469d38c92913ac2
treec3388c1d561a8dd18557e03b26ba3494906acc19
parent083dd8b8aacfcb62d65fb53ec744090879dd8150
xen: netfront: assume all hw features are available until backend connection setup

We need to assume that all features will be available when registering the
netdev otherwise they are ommitted from the initial set of
dev->wanted_features. When we connect to the backed we reduce the set as
necessary due to the call to netdev_update_features() in xennet_connect().

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c