Search Linux Wireless

Re[4]: cfg80211 and rfkill_backport question.

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

 



Wednesday, September 16, 2009, 2:49:04 AM, Luis R. Rodriguez wrote:
> Check if the symbols you had issues with were indeed exported via
> EXPORT_SYMBOL() on the compat code (compat/*.c) or if whether they
> were defined via a header as an inline (compat/*.h).
As far as I can see, the symbols in question are not defined as inline:

compat/compat-2.6.26.c:
  EXPORT_SYMBOL_GPL(dev_set_name);
  
compat/compat-2.6.26.h:
  extern int dev_set_name(struct device *dev, const char *name, ...)
                        __attribute__((format(printf, 2, 3)));
net/rfkill/core.c:
  EXPORT_SYMBOL(rfkill_blocked);

include/linux/rfkill-backport.h:
  #if defined(CONFIG_RFKILL_BACKPORT) || defined(CONFIG_RFKILL_MODULE_BACKPORT)
  .......
  bool rfkill_blocked(struct rfkill *rfkill);
  #else /* !RFKILL */
  .......
  static inline bool rfkill_blocked(struct rfkill *rfkill)
  {
        return false;
  }
  #endif /* RFKILL || RFKILL_MODULE */
  
config.mk:  
  ifdef CONFIG_COMPAT_WIRELESS_31
  CONFIG_RFKILL_BACKPORT=m
  ......

Maybe module loader is supposed to do some magic with symbols, which openwrt 
is missing? However, other modules work just as usual, there are no problems
with lib80211* for instance.

 Nikolai


--
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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux