From: Luciano Coelho Date: Thu, 12 Apr 2012 13:09:49 +0000 (+0300) Subject: mac80211: check IEEE80211_HW_QUEUE_CONTROL in ieee80211_check_queues() X-Git-Tag: v3.5-rc1~109^2~410^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb3e10fb585f1911fedf5fcc4411dcf8d8d63f54;p=pandora-kernel.git mac80211: check IEEE80211_HW_QUEUE_CONTROL in ieee80211_check_queues() Commit 3a25a8c8 (mac80211: add improved HW queue control) introduced a bug when running in AP mode without the IEEE80211_HW_QUEUE_CONTROL flag set. The ieee80211_check_queues() function always returns -EINVAL, preventing AP mode from starting. To fix this, check whether this flag is set before checking if cab_queue is set properly. Signed-off-by: Luciano Coelho Signed-off-by: John W. Linville --- Reading git-diff-tree failed