changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of...
[openwrt/openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1288-newline_after_disconnect_msg.patch.patch
1 From 1b6ea684646a9a793543ca54c8d937d5fa25cc3f Mon Sep 17 00:00:00 2001
2 From: mattb <mattb@openmoko-trac.invalid>
3 Date: Thu, 11 Sep 2008 20:39:08 +0800
4 Subject: [PATCH] newline_after_disconnect_msg.patch
5
6 This is purely cosmetic, but annoying.
7
8 The ar6k wifi driver does not print a newline after the informational message when disconnecting from an AP. This leads to cluttered dmesg output like the following:
9
10 AR6000 disconnected from 00:02:cf:85:c6:08 AR6000 connected event on freq 2412 with bssid 00:02:cf:85:c6:08 listenInterval=100, beaconInterval = 100, beaconIeLen = 0 assocReqLen=27 assocRespLen =22
11
12 What is expected, is something like:
13
14 AR6000 disconnected from 00:02:cf:85:c6:08
15 AR6000 connected event on freq 2412 with bssid 00:02:cf:85:c6:08 listenInterval=100, beaconInterval = 100, beaconIeLen = 0 assocReqLen=27 assocRespLen =22
16
17 The upside of this is that it gives me a nice simple patch to send in as my first contribution to OpenMoko?.
18
19 Cheers
20
21 Signed-off-by: mattb <mattb@openmoko-trac.invalid>
22 ---
23 .../sdio/function/wlan/ar6000/ar6000/ar6000_drv.c | 1 +
24 1 files changed, 1 insertions(+), 0 deletions(-)
25
26 diff --git a/drivers/sdio/function/wlan/ar6000/ar6000/ar6000_drv.c b/drivers/sdio/function/wlan/ar6000/ar6000/ar6000_drv.c
27 index 93ed978..5dd1651 100644
28 --- a/drivers/sdio/function/wlan/ar6000/ar6000/ar6000_drv.c
29 +++ b/drivers/sdio/function/wlan/ar6000/ar6000/ar6000_drv.c
30 @@ -2311,6 +2311,7 @@ ar6000_disconnect_event(AR_SOFTC_T *ar, A_UINT8 reason, A_UINT8 *bssid,
31 A_PRINTF(" from %2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x ",
32 bssid[0], bssid[1], bssid[2], bssid[3], bssid[4], bssid[5]);
33 }
34 + A_PRINTF("\n");
35
36 AR_DEBUG_PRINTF("\nDisconnect Reason is %d", reason);
37 AR_DEBUG_PRINTF("\nProtocol Reason/Status Code is %d", protocolReasonStatus);
38 --
39 1.5.6.5
40