diff options
| author | Lars Ericsson <[email protected]> | 2009-07-18 20:21:52 +0200 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2009-07-27 15:24:08 -0400 |
| commit | eb87eaac52e916e28bcf3bd5974f3b581f6c0ae9 (patch) | |
| tree | 3da38b5c765f3fda6833f9611da0648ca854685e /include/linux | |
| parent | a272a720660059c30fa038113b77fa2a096437d9 (diff) | |
rt2x00: Don't alter rt2x00dev->default_ant
rt2x00dev->default_ant should be initialized once by the driver,
and should not be changed afterwards. Because rt2x00lib_config_antenna()
was using a reference to the struct antenna_setup it actually had the oppurtunity
to change the default antenna setting and it actually did that during the validation.
Instead of passing a pointer to antenna_setup the entire structure should be copied.
Signed-off-by: Lars Ericsson <[email protected]>
Signed-off-by: Ivo van Doorn <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions