diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-07-04 12:49:59 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-07-06 15:26:58 +0200 |
commit | a6f38ac3cc853189705006cc1e0f17ce8467a1df (patch) | |
tree | 82184dc3a42ecc6849457d10423dd6676cb09b77 /drivers/net/wireless/mac80211_hwsim.c | |
parent | c62094889f7bb0b3343d5404c9d139d2fb1712bb (diff) | |
download | op-kernel-dev-a6f38ac3cc853189705006cc1e0f17ce8467a1df.zip op-kernel-dev-a6f38ac3cc853189705006cc1e0f17ce8467a1df.tar.gz |
mac80211: fix crash with single-queue drivers
Larry (and some others I think) reported that with
single-queue drivers mac80211 crashes when waking
the queues. This happens because we allocate just
a single queue for each virtual interface in case
the driver doesn't have at least 4 queues, but the
code stopping/waking the virtual interface queues
wasn't taking this into account.
Reported-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
0 files changed, 0 insertions, 0 deletions