From: Reinette Chatre Date: Tue, 4 Nov 2008 20:21:35 +0000 (-0800) Subject: iwl3945: do not send scan command if channel count zero X-Git-Tag: v2.6.27.6~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=273d474e0d8bb9f7ed7ceb9eaa245a09000ad1ed;p=pandora-kernel.git iwl3945: do not send scan command if channel count zero commit 14b5433606289dbc5b6fd70ced11462f80e95003 upstream. Do not send scan command if no channels to scan. This avoids a Microcode error as reported in: http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1650 http://bugzilla.kernel.org/show_bug.cgi?id=11806 http://marc.info/?l=linux-wireless&m=122437145211886&w=2 Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed