Search Linux Wireless

Re: [PATCH 4/7] brcm80211: fmac: initialize host interface drivers regardless result

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/04/2012 11:49 PM, Julian Calaby wrote:
Hi Arend,

On Sat, Mar 3, 2012 at 08:55, Arend van Spriel<arend@xxxxxxxxxxxx>  wrote:
The module init function of brcmfmac calls init functions for SDIO and
USB doing driver registration. This patch removes terminating the module
init when a driver registration for one host interface fails.

Would it be better to fail the module load if *none* of them succeed -
there's probably no point in having the module loaded if it's not
actually hooked up to anything.


Thanks, Julian

However, the next patch in this series would undo the init code behaviour you are proposing. The brcmf_sdio_init() already logs the failed driver registration. I will add the same to brcmf_usb_init() in a separate patch. Is that ok with you?

Gr. AvS


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux