diff options
author | Luciano Coelho <coelho@ti.com> | 2011-05-09 18:15:04 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-10 21:54:54 +0200 |
commit | 306fe9384f06d31219778cece2d3c646146e7bb6 (patch) | |
tree | 3bbc63e2923d5cf71767a43eadcda2d47b334e61 /drivers/bcma/host_pci.c | |
parent | ath9k: Failed to set default beacon rssi in AP/IBSS mode (diff) | |
download | linux-306fe9384f06d31219778cece2d3c646146e7bb6.tar.xz linux-306fe9384f06d31219778cece2d3c646146e7bb6.zip |
mac80211: don't drop frames where skb->len < 24 in ieee80211_scan_rx()
This seems to be a leftover from the old days, when we didn't support
any frames that didn't contain the full ieee802.11 header. This is
not the case anymore. It does not cause problems now, because they
are only dropped during scan. But when scheduled scans get merged,
this would become a problem because we would drop all small frames
while scheduled scan is running.
To fix this, return RX_CONTINUE instead of RX_DROP_MONITOR.
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/host_pci.c')
0 files changed, 0 insertions, 0 deletions