diff options
Diffstat (limited to 'drivers/net/wireless/libertas/cmdresp.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmdresp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c index 7aec0d4e20f9..53671e96b043 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c | |||
@@ -179,7 +179,6 @@ static int wlan_ret_get_hw_spec(wlan_private * priv, | |||
179 | for (i = 0; i < MRVDRV_MAX_REGION_CODE; i++) { | 179 | for (i = 0; i < MRVDRV_MAX_REGION_CODE; i++) { |
180 | /* use the region code to search for the index */ | 180 | /* use the region code to search for the index */ |
181 | if (adapter->regioncode == libertas_region_code_to_index[i]) { | 181 | if (adapter->regioncode == libertas_region_code_to_index[i]) { |
182 | adapter->regiontableindex = (u16) i; | ||
183 | break; | 182 | break; |
184 | } | 183 | } |
185 | } | 184 | } |
@@ -187,7 +186,6 @@ static int wlan_ret_get_hw_spec(wlan_private * priv, | |||
187 | /* if it's unidentified region code, use the default (USA) */ | 186 | /* if it's unidentified region code, use the default (USA) */ |
188 | if (i >= MRVDRV_MAX_REGION_CODE) { | 187 | if (i >= MRVDRV_MAX_REGION_CODE) { |
189 | adapter->regioncode = 0x10; | 188 | adapter->regioncode = 0x10; |
190 | adapter->regiontableindex = 0; | ||
191 | lbs_pr_info("unidentified region code; using the default (USA)\n"); | 189 | lbs_pr_info("unidentified region code; using the default (USA)\n"); |
192 | } | 190 | } |
193 | 191 | ||