diff options
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index 449e84f89ae7..1eb0cb0a82b7 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -1391,7 +1391,7 @@ static void lbs_remove_mesh(struct lbs_private *priv) | |||
1391 | * @param cfp_no A pointer to CFP number | 1391 | * @param cfp_no A pointer to CFP number |
1392 | * @return A pointer to CFP | 1392 | * @return A pointer to CFP |
1393 | */ | 1393 | */ |
1394 | struct chan_freq_power *lbs_get_region_cfp_table(u8 region, u8 band, int *cfp_no) | 1394 | struct chan_freq_power *lbs_get_region_cfp_table(u8 region, int *cfp_no) |
1395 | { | 1395 | { |
1396 | int i, end; | 1396 | int i, end; |
1397 | 1397 | ||
@@ -1425,7 +1425,7 @@ int lbs_set_regiontable(struct lbs_private *priv, u8 region, u8 band) | |||
1425 | 1425 | ||
1426 | memset(priv->region_channel, 0, sizeof(priv->region_channel)); | 1426 | memset(priv->region_channel, 0, sizeof(priv->region_channel)); |
1427 | 1427 | ||
1428 | cfp = lbs_get_region_cfp_table(region, band, &cfp_no); | 1428 | cfp = lbs_get_region_cfp_table(region, &cfp_no); |
1429 | if (cfp != NULL) { | 1429 | if (cfp != NULL) { |
1430 | priv->region_channel[i].nrcfp = cfp_no; | 1430 | priv->region_channel[i].nrcfp = cfp_no; |
1431 | priv->region_channel[i].CFP = cfp; | 1431 | priv->region_channel[i].CFP = cfp; |