diff options
author | John W. Linville <linville@tuxdriver.com> | 2008-05-27 23:01:55 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-28 22:43:38 +0200 |
commit | 6f6c218f68e632e4596cae6e6d43658d26a5e0fe (patch) | |
tree | 8586bdd871c382f673005a669a1c48f23c595782 /drivers/net/tehuti.c | |
parent | vlan: Use bitmask of feature flags instead of seperate feature bits (diff) | |
download | linux-6f6c218f68e632e4596cae6e6d43658d26a5e0fe.tar.xz linux-6f6c218f68e632e4596cae6e6d43658d26a5e0fe.zip |
rtl8180: avoid NULL dereference in max2820_rf_set_channel
The static function max2820_rf_set_channel is called with conf == NULL
within its compilation unit. Originally this defaulted to b/g channel
1, but "cfg80211 API for channels/bitrates, mac80211 and driver
conversion" (commit 8318d78a44d49ac1edf2bdec7299de3617c4232e) mistakenly
dropped this check. This patch minimally restores the expected
behavior.
Reported-by: Colin Lai <colin_sh@163.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/tehuti.c')
0 files changed, 0 insertions, 0 deletions