19 Nov, 2011
1 commit
-
This converts the drivers in drivers/staging/* to use the
module_usb_driver() macro which makes the code smaller and a bit
simpler.Added bonus is that it removes some unneeded kernel log messages about
drivers loading and/or unloading.Cc: "David Täht"
Cc: Marek Belisko
Cc: Al Cho
Cc: Forest Bond
Cc: Pavel Machek
Cc: Huajun Li
Cc: Zac Storer
Cc: Randy Dunlap
Cc: Mauro Carvalho Chehab
Cc: edwin_rong
Cc: Ben Hutchings
Cc: Julia Lawall
Cc: Ilia Mirkin
Cc: Joe Perches
Cc: Pekka Enberg
Cc: "John W. Linville"
Cc: Paul Gortmaker
Cc: Larry Finger
Signed-off-by: Greg Kroah-Hartman
18 Aug, 2011
1 commit
-
replace it by ndo_set_rx_mode
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller
06 Jul, 2011
1 commit
-
It was pointed out by 'make versioncheck' that include of
linux/version.h is not needed in drivers/staging/wlan-ng/prism2sta.c .
This patch removes it.Signed-off-by: Jesper Juhl
Signed-off-by: Greg Kroah-Hartman
29 Jun, 2011
1 commit
-
This is a patch to the prism2fw.c file that fixes up a brace
warning found by the checkpatch.pl tool.Signed-off-by: Joseph Salisbury
Signed-off-by: Greg Kroah-Hartman
25 May, 2011
1 commit
19 May, 2011
1 commit
-
cfg80211 scan code adds separate BSS entries if the same BSS shows up
on multiple channels. However, sme implementation does not use the
frequency when fetching the BSS entry. Fix this by adding channel
information to cfg80211_roamed() and include it in cfg80211_get_bss()
calls.Please note that drivers using cfg80211_roamed() need to be modified to
fully implement this fix. This commit includes only minimal changes to
avoid compilation issues; it maintains the old (broken) behavior for
most drivers. ath6kl was the only one that I could test, so I updated
it to provide the operating frequency in the roamed event.Signed-off-by: Jouni Malinen
Signed-off-by: John W. Linville
04 May, 2011
1 commit
-
Hi us,
When i was compiling kernel, a warning happened to me.
The warning said like following.drivers/staging/wlan-ng/cfg80211.c:709: warning: initialization from
incompatible pointer type.See http://s1202.photobucket.com/albums/bb364/harrywei/?action=view¤t=patched2.png
for more details.So i patch like following.
Signed-off-by: Harry Wei
Acked-by: Randy Dunlap
Signed-off-by: Greg Kroah-Hartman
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
15 Mar, 2011
1 commit
-
This patch was generated by the following semantic patch:
//
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
//Signed-off-by: Ilia Mirkin
Signed-off-by: Greg Kroah-Hartman
05 Feb, 2011
1 commit
-
Signed-off-by: Bas van den Berg
Signed-off-by: Greg Kroah-Hartman
01 Feb, 2011
1 commit
-
This patch to p80211conv.c fixes to space coding style warnings found
with checkpatch.plSigned-off-by: Adam Thompson
Signed-off-by: Greg Kroah-Hartman
17 Nov, 2010
1 commit
-
This was necessary in order to resolve some conflicts that happened
between -rc1 and -rc2 with the following files:
drivers/staging/bcm/Bcmchar.c
drivers/staging/intel_sst/intel_sst_app_interface.cAll should be resolved now.
Signed-off-by: Greg Kroah-Hartman
10 Nov, 2010
8 commits
-
This patch fixes bug #13820 from bugzilla.kernel.org.
Quote: "If ETHTOOL_GLINK is not defined, the end for switch case is not
to be found."Signed-off-by: Maximiliano David Bustos
Signed-off-by: Greg Kroah-Hartman -
Commit e31b82136d1adc7a599b6e99d3321e5831841f5a ("cfg80211/mac80211:
allow per-station GTKs") changed the signatures of these operations
but did not update the staging drivers.Signed-off-by: Ben Hutchings
Signed-off-by: Greg Kroah-Hartman -
This is a patch to the p80211netdev.c file that fixes warnings that were
found by the checkpatch.pl toolSigned-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman -
This is a patch to the p80211conv.h file that fixes two 80 character
line limit styling issuesSigned-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman -
This is a patch to prism2mgmt.c that fixes coding style issues found by
checkpatch.pl. Three instances of the 80 char line limit being exceeded
have been kept as is so that string literals are not split up.Signed-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman -
This is a patch that fixes various coding style issues in p80211types.h.
The typedef declarations have been kept as they seem necessary.Signed-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman -
This is a patch to the p80211netdev.h file that fixes up warnings found
by the checkpatch.pl tool. The typedefs have been left in place as they
seem necessary.Signed-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman -
This is a patch to the p80211conv.c file that fixes a couple of coding
style issues found by the checkpatch.pl tool.Signed-off-by: Johan Meiring
Signed-off-by: Greg Kroah-Hartman
29 Oct, 2010
1 commit
-
This merges the staging-next tree to Linus's tree and resolves
some conflicts that were present due to changes in other trees that were
affected by files here.Signed-off-by: Greg Kroah-Hartman
08 Oct, 2010
1 commit
-
Changed -objs to -y in Makefile.
Signed-off-by: Tracey Dent
Signed-off-by: Greg Kroah-Hartman
05 Sep, 2010
1 commit
-
Signed-off-by: Uwe Kleine-König
Signed-off-by: Greg Kroah-Hartman
04 Sep, 2010
1 commit
-
The cfg80211 api has introduced a few new fields. Rather than assume
what cfg80211 api does by default, set these explicitly.Signed-off-by: Karl Relton
Signed-off-by: Greg Kroah-Hartman
06 Aug, 2010
1 commit
-
Commit fa61cf70a6ae1089e459e4b59b2e8d8e90d8535e updates nl80211's function
.set_tx_power to use mBm units instead of dBm for greater accuracy and
smaller power levels.This patchs updates prism2_set_tx_power() accordingly.
Signed-off-by: Christoph Fritz
Signed-off-by: Greg Kroah-Hartman
03 Aug, 2010
5 commits
-
This patch removes the only typedef in p80211hdr.h.
Signed-off-by: Edgardo Hames
Signed-off-by: Greg Kroah-Hartman -
This patch fix errors and warnings reported by checkpatch
in p80211meta.h and p80211metstruct.h.Signed-off-by: Edgardo Hames
Signed-off-by: Greg Kroah-Hartman -
This patches removes the only typedef in p80211ioctl.h
Signed-off-by: Edgardo Hames
Signed-off-by: Greg Kroah-Hartman -
This patch removes typedefs in p80211conv.h.
Signed-off-by: Edgardo Hames
Signed-off-by: Greg Kroah-Hartman -
Removed typedef and other style issues.
Signed-off-by: Edgardo Hames
Signed-off-by: Greg Kroah-Hartman
27 Jul, 2010
1 commit
-
Fixed several errors reported by checkpatch.
Signed-off-by: Edgardo Hames
Signed-off-by: Greg Kroah-Hartman
23 Jul, 2010
3 commits
-
In kernel we have hex_asc_hi and hex_asc_lo macroses to do the job.
Signed-off-by: Andy Shevchenko
Signed-off-by: Greg Kroah-Hartman -
Removed multiple typedef and fixed long lines.
Signed-off-by: Edgardo Hames
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Edgardo Hames
Signed-off-by: Greg Kroah-Hartman
25 Jun, 2010
1 commit
-
drivers/built-in.o: In function `wlan_free_wiphy':
(.text+0x3f5eb5): undefined reference to `wiphy_unregister'
drivers/built-in.o: In function `wlan_free_wiphy':
(.text+0x3f5ec4): undefined reference to `wiphy_free'
drivers/built-in.o: In function `wlan_create_wiphy':
(.text+0x3f5f76): undefined reference to `wiphy_new'
drivers/built-in.o: In function `wlan_create_wiphy':
(.text+0x3f6024): undefined reference to `wiphy_register'
drivers/built-in.o: In function `prism2_roamed':
(.text+0x3f61f7): undefined reference to `cfg80211_roamed'
drivers/built-in.o: In function `prism2_disconnected':
(.text+0x3f6223): undefined reference to `cfg80211_disconnected'
drivers/built-in.o: In function `prism2_connect_result':
(.text+0x3f626d): undefined reference to `cfg80211_connect_result'
drivers/built-in.o: In function `prism2_connect':
(.text+0x3f62b6): undefined reference to `ieee80211_frequency_to_channel'
drivers/built-in.o: In function `prism2_scan':
(.text+0x3f6679): undefined reference to `ieee80211_frequency_to_channel'
drivers/built-in.o: In function `prism2_scan':
(.text+0x3f6873): undefined reference to `__ieee80211_get_channel'
drivers/built-in.o: In function `prism2_scan':
(.text+0x3f68cc): undefined reference to `cfg80211_inform_bss'
drivers/built-in.o: In function `prism2_scan':
(.text+0x3f6942): undefined reference to `cfg80211_scan_done'Signed-off-by: Randy Dunlap
Signed-off-by: Greg Kroah-Hartman
19 Jun, 2010
2 commits
-
This doesn't change the behavior. It just silences a sparse warning.
drivers/staging/wlan-ng/hfa384x_usb.c:2810:62: warning: dubious: !x | !y
The point of the bitwise OR is so that a logical OR could short circuit
the second call to test_and_set_bit().Signed-off-by: Dan Carpenter
Signed-off-by: Greg Kroah-Hartman -
Switch driver over from wext to cfg80211 interface.
Some Notes:
- This patch moves the driver wholesale from wext to cfg80211. Wext
support is still provided through the cfg80211 provided wext
compatability layer.- Currently only infrastructure mode is implemented. Ad hoc mode is not
yet implemented, but can be added.- It does not support connecting to a specified bssid, instead roaming
is handled by the card itself. This matches the behaviour of the
existing driver.- It has been tested using NetworkManager (via wpa_supplicant)
configured to use the wext compatability layer, and then again with the
native nl80211 layer.Signed-off-by: Karl Relton
Signed-off-by: Greg Kroah-Hartman
18 May, 2010
1 commit
-
There is no need trying to load the (even in most cases) not availible
firmware after suspend. This saves about 30 secounds on reset waiting
for timeout.Signed-off-by: Christoph Fritz
Signed-off-by: Greg Kroah-Hartman
15 May, 2010
1 commit
-
Use kcalloc or kzalloc rather than the combination of kmalloc and memset.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)//
@@
expression x,y,flags;
statement S;
type T;
@@x =
- kmalloc
+ kcalloc
(
- y * sizeof(T),
+ y, sizeof(T),
flags);
if (x == NULL) S
-memset(x, 0, y * sizeof(T));@@
expression x,size,flags;
statement S;
@@-x = kmalloc(size,flags);
+x = kzalloc(size,flags);
if (x == NULL) S
-memset(x, 0, size);
//Signed-off-by: Julia Lawall
12 May, 2010
1 commit
-
Fixed non static functions in prism2fw.c
Signed-off-by: Zachary Richey
Signed-off-by: Greg Kroah-Hartman