2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/net/ethernet/qualcomm/rmnet
Subash Abhinov Kasiviswanathan 032ee46828 net: qualcomm: rmnet: Refactor the new rmnet dev creation
Data format can be directly set from rmnet_newlink() since the
rmnet real dev info is already available.

Since __rmnet_get_real_dev_info() is no longer used in rmnet_config.c
after removal of those functions, move content to
rmnet_get_real_dev_info().

__rmnet_set_endpoint_config() is collapsed into
rmnet_set_endpoint_config() since only mux_id was being set additionally
within it. Remove an unnecessary mux_id check.

Set the mux_id for the rmnet_dev within rmnet_vnd_newlink() itself.

Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Cc: Dan Williams <dcbw@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-03 21:27:18 -07:00
..
Kconfig
Makefile
rmnet_config.c net: qualcomm: rmnet: Refactor the new rmnet dev creation 2017-09-03 21:27:18 -07:00
rmnet_config.h net: qualcomm: rmnet: Fix memory corruption if mux_id is greater than 32 2017-09-03 21:27:18 -07:00
rmnet_handlers.c
rmnet_handlers.h
rmnet_map_command.c
rmnet_map_data.c
rmnet_map.h
rmnet_private.h net: qualcomm: rmnet: Fix memory corruption if mux_id is greater than 32 2017-09-03 21:27:18 -07:00
rmnet_vnd.c net: qualcomm: rmnet: Refactor the new rmnet dev creation 2017-09-03 21:27:18 -07:00
rmnet_vnd.h net: qualcomm: rmnet: Refactor the new rmnet dev creation 2017-09-03 21:27:18 -07:00