diff options
| author | Johannes Berg <[email protected]> | 2011-07-20 00:52:16 +0200 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2011-07-20 15:04:38 -0400 |
| commit | a401d2bb363d942245acdd81c5b5a754011696ee (patch) | |
| tree | 1f05cf5d53b72576d101572aeca176320fc361df /include/linux/debugobjects.h | |
| parent | 70126f6105f86366fd97644937ef2180b906b7c8 (diff) | |
cfg80211: fix scan crash on single-band cards
commit 58389c69150e6032504dfcd3edca6b1975c8b5bc
Author: Johannes Berg <[email protected]>
Date: Mon Jul 18 18:08:35 2011 +0200
cfg80211: allow userspace to control supported rates in scan
made single-band cards crash since it would always
access all wiphy->bands[]. Fix this and reject any
attempts in the new helper ieee80211_get_ratemask()
to do the same, rejecting rates configuration for
unsupported bands.
Reported-by: Pavel Roskin <[email protected]>
Tested-by: Pavel Roskin <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions