source: trunk/package/mac80211/patches/306-rt2x00-Fix-module-loading-in-case-of-error-rt2800p.patch @ 14946

Last change on this file since 14946 was 14946, checked in by hauke, 7 years ago

[mac80211] Update compat-wireless to 2009-03-18

Removing of include/net/ieee80211_radiotap.h is not needed, because it is only used by this compat-wireless.
There are changes in that file and compat-wireless needs the newest version.

Some more symbols are deactivated in the default config file, this will make building faster.
The rt2800pci patches are up to date now.

File size: 887 bytes
  • drivers/net/wireless/rt2x00/rt2800pci.c

    From 14f870b27b836acee5f04809287175016ca16b05 Mon Sep 17 00:00:00 2001
    From: Ivo van Doorn <IvDoorn@gmail.com>
    Date: Sun, 15 Mar 2009 15:13:58 +0100
    Subject: [PATCH] rt2x00: Fix module loading in case of error (rt2800pci)
    
    Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
    ---
     drivers/net/wireless/rt2x00/rt2800pci.c |    9 +++++++++
     1 files changed, 9 insertions(+), 0 deletions(-)
    
    a b static int __init rt2800pci_init(void) 
    30143014 
    30153015#ifdef CONFIG_RT2800PCI_WISOC 
    30163016        ret = platform_driver_register(&rt2800soc_driver); 
     3017        if (ret) 
     3018                return ret; 
    30173019#endif 
    30183020#ifdef CONFIG_RT2800PCI_PCI 
    30193021        ret = pci_register_driver(&rt2800pci_driver); 
     3022        if (ret) { 
     3023#ifdef CONFIG_RT2800PCI_WISOC 
     3024                platform_driver_unregister(&rt2800soc_driver); 
     3025#endif 
     3026                return ret; 
     3027        } 
    30203028#endif 
     3029 
    30213030        return ret; 
    30223031} 
    30233032 
Note: See TracBrowser for help on using the repository browser.