diff options
author | Stanislaw Gruszka <stf_xl@wp.pl> | 2013-03-16 19:19:29 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-18 21:38:29 +0100 |
commit | 53216d6a9a2dd3b0a65203e540b7739c36351d55 (patch) | |
tree | dace15ef1d32fe7ec6c735f15106692838f3e9c5 /drivers/net/wireless/rt2x00/rt2800.h | |
parent | rt2x00: Fix tx status reporting for reordered frames in rt2800pci (diff) | |
download | linux-53216d6a9a2dd3b0a65203e540b7739c36351d55.tar.xz linux-53216d6a9a2dd3b0a65203e540b7739c36351d55.zip |
rt2800: do not crash if spec->channels is NULL
In case the spec->channels was not specified, print warning instead
of hard crash the kernel.
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
Tested-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800.h')
0 files changed, 0 insertions, 0 deletions