b43: N-PHY: find table entry earlier for setting chanspec
authorRafał Miłecki <zajec5@gmail.com>
Sun, 28 Mar 2010 22:53:14 +0000 (00:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:39:18 +0000 (14:39 -0400)
commitffd2d9bdac1a0a5d3184e085ea1bd3060b4166fe
tree71a5a7a04080ae6c9f93e823abb4a6df69e6be1a
parentb15b3039919c7357c2851ec66843ff92f8ff86aa
b43: N-PHY: find table entry earlier for setting chanspec

We do not want to partially change chanspec just to find out there is not
entry in table for given channel.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_n.c