diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-06 22:52:26 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-06 22:52:26 +0200 |
commit | 4673b0b774de44d3f101bb677e2a44312a36f1b9 (patch) | |
tree | c9cb07edab3d6c493aaa76141240cb5b32bc707b /patches/collateral-evolutions/network/0001-netdev_ops/mwifiex.patch | |
parent | 8f949091c3e0bd1ec75e44614b57c0fe3bc90e55 (diff) |
backport patches: rename/combine some patches
It's not efficient to have a large number of patches,
but necessary to split patches per driver or subsystem
to allow copying only parts. I had split them per file
as that was easy to generate, now combine a few again
and move some into the higher directory level.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches/collateral-evolutions/network/0001-netdev_ops/mwifiex.patch')
-rw-r--r-- | patches/collateral-evolutions/network/0001-netdev_ops/mwifiex.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/0001-netdev_ops/mwifiex.patch b/patches/collateral-evolutions/network/0001-netdev_ops/mwifiex.patch new file mode 100644 index 00000000..74f2c8e6 --- /dev/null +++ b/patches/collateral-evolutions/network/0001-netdev_ops/mwifiex.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/wireless/mwifiex/main.c ++++ b/drivers/net/wireless/mwifiex/main.c +@@ -654,7 +654,7 @@ static const struct net_device_ops mwifi + void mwifiex_init_priv_params(struct mwifiex_private *priv, + struct net_device *dev) + { +- dev->netdev_ops = &mwifiex_netdev_ops; ++ netdev_attach_ops(dev, &mwifiex_netdev_ops); + /* Initialize private structure */ + priv->current_key_index = 0; + priv->media_connected = false; |