From: Eliad Peller Date: Sun, 13 May 2012 13:47:05 +0000 (+0300) Subject: mac80211: use offchannel queue only when supported X-Git-Tag: v3.6-rc1~125^2~57^2~401 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c53f7e150e178b62b9904428ccbe3ae6f3553fdd;p=pandora-kernel.git mac80211: use offchannel queue only when supported Commit 3a25a8c ("mac80211: add improved HW queue control") added support for offchannel queue mapping. However, this mapping is only valid when the driver supports IEEE80211_HW_QUEUE_CONTROL. Check whether the driver supports IEEE80211_HW_QUEUE_CONTROL before setting the hw_queue to the mapped offchannel queue. (This patch doesn't have any actual effect, because hw_queue is overridden in ieee80211_tx() anyway, so this is merely some cleanup) Signed-off-by: Eliad Peller Acked-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed