~ubuntu-branches/ubuntu/hardy/linux-backports-modules-2.6.24/hardy-security

« back to all changes in this revision

Viewing changes to updates/wireless/iwlwifi/mac80211/compatible/include/net/wext.h

  • Committer: Bazaar Package Importer
  • Author(s): , Ben Collins
  • Date: 2008-04-02 06:59:04 UTC
  • Revision ID: james.westby@ubuntu.com-20080402065904-e5knh2gn2hms3xbb
Tags: 2.6.24-14.11
[Ben Collins]

* iwlwifi: Update to iwlwifi-1.2.25 and mac80211-10.0.4
  - LP: #200950
* ubuntu: Slight cleanups to module hiearchy and Makefiles
* mac80211: Enable LED triggers
* iwlwifi: Add LED trigger support (rx and tx only)
  - LP: #176090

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __NET_WEXT_H
 
2
#define __NET_WEXT_H
 
3
 
 
4
/*
 
5
 * wireless extensions interface to the core code
 
6
 */
 
7
 
 
8
#ifdef CONFIG_WIRELESS_EXT
 
9
extern int wext_proc_init(void);
 
10
extern int wext_handle_ioctl(struct ifreq *ifr, unsigned int cmd,
 
11
                             void __user *arg);
 
12
#else
 
13
static inline int wext_proc_init(void)
 
14
{
 
15
        return 0;
 
16
}
 
17
static inline int wext_handle_ioctl(struct ifreq *ifr, unsigned int cmd,
 
18
                                    void __user *arg)
 
19
{
 
20
        return -EINVAL;
 
21
}
 
22
#endif
 
23
 
 
24
#endif /* __NET_WEXT_H */