summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx/wl1251_cmd.c
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@nokia.com>2009-08-07 14:34:05 +0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-14 17:13:39 +0400
commit46e947b9c382f67f84cffec3bf068d6d23695058 (patch)
tree7cc889dfa4f3abf983f42c4bbeb9473edaed148f /drivers/net/wireless/wl12xx/wl1251_cmd.c
parent0e71bb084adc4986b9a4be3581897f0ee703cbd5 (diff)
downloadlinux-46e947b9c382f67f84cffec3bf068d6d23695058.tar.xz
wl1251: reorder wl1251_cmd_join() arguments
It's more common to have beacon interval before dtim period. Also use bool instead of u8. Signed-off-by: Kalle Valo <kalle.valo@nokia.com> Reviewed-by: Vidhya Govindan <vidhya.govindan@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_cmd.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1251_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_cmd.c b/drivers/net/wireless/wl12xx/wl1251_cmd.c
index 53f5da65bcb4..50daa9bda4ae 100644
--- a/drivers/net/wireless/wl12xx/wl1251_cmd.c
+++ b/drivers/net/wireless/wl12xx/wl1251_cmd.c
@@ -251,8 +251,8 @@ out:
return ret;
}
-int wl1251_cmd_join(struct wl1251 *wl, u8 bss_type, u8 dtim_interval,
- u16 beacon_interval, u8 wait)
+int wl1251_cmd_join(struct wl1251 *wl, u8 bss_type, u16 beacon_interval,
+ u8 dtim_interval, bool wait)
{
unsigned long timeout;
struct cmd_join *join;