Skip to content

Commit

Permalink
Staging: rtl8192u: remove a copy of 80211.h
Browse files Browse the repository at this point in the history
We had a request to enable one of the realtek network drivers in staging in Fedora.
After a quick lookover, I decided this wasn't such a great idea.

In doing so though, I noticed we have 6 copies of ieee80211.h there now,
Two drivers even have two copies of it.  (Even worse, cleanups have been pointlessly
happening to both files).  The patch below removes one of them, which is asides
from whitespace, identical afaics. With a change of filename to the #include,
it all still compiles for me.

A better fix would be to remove both, and have them use the core ieee80211 stuff,
but this is at least a tiny step in the right direction.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Dave Jones authored and Greg Kroah-Hartman committed Jul 8, 2010
1 parent 8e72c64 commit 2addf79
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2,599 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192u/dot11d.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define __INC_DOT11D_H

#ifdef ENABLE_DOT11D
#include "ieee80211.h"
#include "ieee80211/ieee80211.h"


typedef struct _CHNL_TXPOWER_TRIPLE {
Expand Down
Loading

0 comments on commit 2addf79

Please sign in to comment.