mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-05 10:17:58 -05:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
RNDIS function has a limitation on the number of allowed instances. So far it has been RNDIS_MAX_CONFIGS, which happens to be one. In order to eliminate this kind of arbitrary limitation we should not preallocate a predefined (RNDIS_MAX_CONFIGS) array of struct rndis_params instances but instead allow allocating them on demand. This patch allocates struct rndis_params on demand in rndis_register(). Coversly, the structure is free()'d in rndis_deregister(). If CONFIG_USB_GADGET_DEBUG_FILES is set, the proc files are created which is the same behaviour as before, but the moment of creation is delayed until struct rndis_params is actually allocated. rnids_init() and rndis_exit() have nothing to do, so they are eliminated. Signed-off-by: Andrzej Pietrasiewicz <[email protected]> Signed-off-by: Felipe Balbi <[email protected]> |
||
| .. | ||
| acm.txt | ||
| anchors.txt | ||
| authorization.txt | ||
| bulk-streams.txt | ||
| callbacks.txt | ||
| chipidea.txt | ||
| CREDITS | ||
| dma.txt | ||
| dwc3.txt | ||
| ehci.txt | ||
| error-codes.txt | ||
| functionfs.txt | ||
| gadget-testing.txt | ||
| gadget_configfs.txt | ||
| gadget_hid.txt | ||
| gadget_multi.txt | ||
| gadget_printer.txt | ||
| gadget_serial.txt | ||
| hotplug.txt | ||
| iuu_phoenix.txt | ||
| linux-cdc-acm.inf | ||
| linux.inf | ||
| mass-storage.txt | ||
| misc_usbsevseg.txt | ||
| mtouchusb.txt | ||
| ohci.txt | ||
| persist.txt | ||
| power-management.txt | ||
| proc_usb_info.txt | ||
| rio.txt | ||
| URB.txt | ||
| usb-help.txt | ||
| usb-serial.txt | ||
| usbmon.txt | ||
| wusb-cbaf | ||
| WUSB-Design-overview.txt | ||