Fix typo from wifi_direct_discovery_state_chagned_cb to wifi_direct_discovery_state_c... 26/298026/2 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.092940 accepted/tizen/unified/20230905.085517 tizen_8.0_m2_release
authorJiung Yu <jiung.yu@samsung.com>
Wed, 30 Aug 2023 07:23:02 +0000 (16:23 +0900)
committerJiung Yu <jiung.yu@samsung.com>
Wed, 30 Aug 2023 07:23:53 +0000 (16:23 +0900)
Change-Id: I45a27a9b8120fd7905d5c9da8f071eb4fb75ff1c
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
include/wifi-direct.h
src/include/wifi-direct-client-proxy.h
src/wifi-direct-client-proxy.c

index b5973be..1ef8ab9 100644 (file)
@@ -103,7 +103,7 @@ typedef enum {
 /**
  * @brief Enumeration for Wi-Fi Direct discovery state.
  * @since_tizen 2.3
- * @see wifi_direct_discovery_state_chagned_cb()
+ * @see wifi_direct_discovery_state_changed_cb()
  * @see wifi_direct_peer_found_cb()
  */
 typedef enum {
@@ -586,7 +586,7 @@ typedef struct {
  * @see wifi_direct_set_discovery_state_changed_cb()
  * @see wifi_direct_unset_discovery_state_changed_cb()
  */
-typedef void (*wifi_direct_discovery_state_chagned_cb) (int error_code,
+typedef void (*wifi_direct_discovery_state_changed_cb) (int error_code,
                                                        wifi_direct_discovery_state_e discovery_state,
                                                        void *user_data);
 
@@ -984,7 +984,7 @@ int wifi_direct_unset_device_state_changed_cb(void);
  * @pre Wi-Fi Direct service must be initialized by wifi_direct_initialize().
  * @see wifi_direct_initialize()
  * @see wifi_direct_unset_discovery_state_changed_cb()
- * @see wifi_direct_discovery_state_chagned_cb()
+ * @see wifi_direct_discovery_state_changed_cb()
  *
  *
  * Here is an example of the usage:
@@ -1048,7 +1048,7 @@ int wifi_direct_unset_device_state_changed_cb(void);
  * }
  * @endcode
  */
-int wifi_direct_set_discovery_state_changed_cb(wifi_direct_discovery_state_chagned_cb cb, void* user_data);
+int wifi_direct_set_discovery_state_changed_cb(wifi_direct_discovery_state_changed_cb cb, void* user_data);
 
 
 /**
@@ -1925,7 +1925,7 @@ int wifi_direct_deactivate(void);
  *          The function can be called even if there is another discovery in progress.
  *          All started processes will run simultaneously. Each process will receive
  *          #WIFI_DIRECT_DISCOVERY_FINISHED
- *          event in wifi_direct_discovery_state_chagned_cb().
+ *          event in wifi_direct_discovery_state_changed_cb().
  * @param[in] listen_only  The status of listen only: (@c true = listen only,
  *                         @c false = cycling between Scan and Listen)
  * @param[in] timeout      Specifies the duration of discovery period, in seconds.
@@ -1944,10 +1944,10 @@ int wifi_direct_deactivate(void);
  * @retval #WIFI_DIRECT_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #WIFI_DIRECT_ERROR_RESOURCE_BUSY         Device or resource busy
  * @pre Wi-Fi Direct service must be activated by wifi_direct_activate().
- * @post wifi_direct_discovery_state_chagned_cb() will be invoked.
+ * @post wifi_direct_discovery_state_changed_cb() will be invoked.
  * @see wifi_direct_activate()
  * @see wifi_direct_cancel_discovery()
- * @see wifi_direct_discovery_state_chagned_cb()
+ * @see wifi_direct_discovery_state_changed_cb()
  *
  *
  * Here is an example of the usage:
@@ -2041,7 +2041,7 @@ int wifi_direct_start_discovery(bool listen_only, int timeout);
  *          The function can be called even if there is another discovery in progress.
  *          All started processes will run simultaneously. Each process will receive
  *          #WIFI_DIRECT_DISCOVERY_FINISHED
- *          event in wifi_direct_discovery_state_chagned_cb().
+ *          event in wifi_direct_discovery_state_changed_cb().
  * @param[in] listen_only  The status of listen only: (@c true = listen only,
  *                         @c false = cycling between Scan and Listen)
  * @param[in] timeout      Specifies the duration of discovery period, in seconds.
@@ -2061,10 +2061,10 @@ int wifi_direct_start_discovery(bool listen_only, int timeout);
  * @retval #WIFI_DIRECT_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #WIFI_DIRECT_ERROR_RESOURCE_BUSY         Device or resource busy
  * @pre Wi-Fi Direct service must be activated by wifi_direct_activate().
- * @post wifi_direct_discovery_state_chagned_cb() will be invoked.
+ * @post wifi_direct_discovery_state_changed_cb() will be invoked.
  * @see wifi_direct_activate()
  * @see wifi_direct_cancel_discovery()
- * @see wifi_direct_discovery_state_chagned_cb()
+ * @see wifi_direct_discovery_state_changed_cb()
  *
  *
  * Here is an example of the usage:
@@ -2149,7 +2149,7 @@ int wifi_direct_start_discovery_specific_channel(bool listen_only, int timeout,
  *          The function can be called even if there is another discovery in progress.
  *          All started processes will run simultaneously. Each process will receive
  *          #WIFI_DIRECT_DISCOVERY_FINISHED
- *          event in wifi_direct_discovery_state_chagned_cb().
+ *          event in wifi_direct_discovery_state_changed_cb().
  * @param[in] listen_only  Indicates mode in which the discovery service will work.
  *                         If @c true, the service will only listen, otherwise
  *                         it will cycle between scanning and listening
@@ -2170,10 +2170,10 @@ int wifi_direct_start_discovery_specific_channel(bool listen_only, int timeout,
  * @retval #WIFI_DIRECT_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #WIFI_DIRECT_ERROR_RESOURCE_BUSY         Device or resource busy
  * @pre Wi-Fi Direct service must be activated by wifi_direct_activate().
- * @post wifi_direct_discovery_state_chagned_cb() will be invoked.
+ * @post wifi_direct_discovery_state_changed_cb() will be invoked.
  * @see wifi_direct_activate()
  * @see wifi_direct_cancel_discovery()
- * @see wifi_direct_discovery_state_chagned_cb()
+ * @see wifi_direct_discovery_state_changed_cb()
  * @see wifi_direct_discovered_peer_cb()
  *
  *
@@ -2265,11 +2265,11 @@ int wifi_direct_start_discovery_specific_freq(bool listen_only, int timeout, int
  * @retval #WIFI_DIRECT_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #WIFI_DIRECT_ERROR_RESOURCE_BUSY         Device or resource busy
  * @pre Discovery must be started by wifi_direct_start_discovery().
- * @post wifi_direct_discovery_state_chagned_cb() will be invoked.
+ * @post wifi_direct_discovery_state_changed_cb() will be invoked.
  * @see wifi_direct_start_discovery()
  * @see wifi_direct_start_discovery_specific_channel()
  * @see wifi_direct_start_discovery_specific_freq()
- * @see wifi_direct_discovery_state_chagned_cb()
+ * @see wifi_direct_discovery_state_changed_cb()
  *
  *
  * Here is an example of the usage:
index 94b03fc..2b0da51 100644 (file)
@@ -85,7 +85,7 @@ typedef struct {
        wifi_direct_device_state_changed_cb activation_cb;
        void *user_data_for_cb_activation;
 
-       wifi_direct_discovery_state_chagned_cb discover_cb;
+       wifi_direct_discovery_state_changed_cb discover_cb;
        void *user_data_for_cb_discover;
 
        wifi_direct_connection_state_changed_cb connection_cb;
index da74dc2..92bbab3 100755 (executable)
@@ -1086,7 +1086,7 @@ EXPORT_API int wifi_direct_unset_device_state_changed_cb(void)
 }
 
 
-EXPORT_API int wifi_direct_set_discovery_state_changed_cb(wifi_direct_discovery_state_chagned_cb cb,
+EXPORT_API int wifi_direct_set_discovery_state_changed_cb(wifi_direct_discovery_state_changed_cb cb,
                                           void *user_data)
 {
        __WDC_LOG_FUNC_START__;