]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
iwlwifi: do not register bands with no supported channels
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Mar 2008 19:58:40 +0000 (15:58 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Mar 2008 19:51:21 +0000 (15:51 -0400)
commite0e0a67e44ce13e34f553b6ab6377560fa9813f1
tree7981d2a91c0f1ed5208288cd728a2a670e4ceb45
parentbe892471c42f70e47541e42b8dba7ff91cebd026
iwlwifi: do not register bands with no supported channels

Otherwise, b/g-only devices fail in wiphy_register.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c