mirror of
				https://github.com/albfan/miraclecast.git
				synced 2025-03-09 23:38:56 +00:00 
			
		
		
		
	Correct spelling mistakes
This commit is contained in:
		
							parent
							
								
									0b72e0b435
								
							
						
					
					
						commit
						3ab7d5913f
					
				
					 10 changed files with 12 additions and 12 deletions
				
			
		
							
								
								
									
										2
									
								
								COPYING
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								COPYING
									
										
									
									
									
								
							|  | @ -8,7 +8,7 @@ This software was written by: | ||||||
| This software is licensed under the terms of the LGPL. Please see each source | This software is licensed under the terms of the LGPL. Please see each source | ||||||
| file for the related copyright notice and license. | file for the related copyright notice and license. | ||||||
| 
 | 
 | ||||||
| If a file does not contain a copright notice, the following notice shall apply: | If a file does not contain a copyright notice, the following notice shall apply: | ||||||
| 
 | 
 | ||||||
| 	MiracleCast - Wifi-Display/Miracast Implementation | 	MiracleCast - Wifi-Display/Miracast Implementation | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -10,7 +10,7 @@ ETHER_COUNT=$(echo "$ETHER_NAMES" | wc -l) | ||||||
| 
 | 
 | ||||||
| if [ 0 = $ETHER_COUNT ] | if [ 0 = $ETHER_COUNT ] | ||||||
| then | then | ||||||
|    echo There is no net devices avaliable |    echo There is no net devices available | ||||||
|    exit 1 |    exit 1 | ||||||
| elif [ 1 = $ETHER_COUNT ] | elif [ 1 = $ETHER_COUNT ] | ||||||
| then | then | ||||||
|  |  | ||||||
|  | @ -8,7 +8,7 @@ ETHER_COUNT=$(echo "$ETHER_NAMES" | wc -l) | ||||||
| 
 | 
 | ||||||
| if [ 0 = $ETHER_COUNT ] | if [ 0 = $ETHER_COUNT ] | ||||||
| then | then | ||||||
|    echo There is no net devices avaliable |    echo There is no net devices available | ||||||
|    exit 1 |    exit 1 | ||||||
| elif [ 1 = $ETHER_COUNT ] | elif [ 1 = $ETHER_COUNT ] | ||||||
| then | then | ||||||
|  |  | ||||||
|  | @ -712,7 +712,7 @@ void cli_fn_help() | ||||||
| 	printf("%s [OPTIONS...] ...\n\n" | 	printf("%s [OPTIONS...] ...\n\n" | ||||||
| 	       "Control a dedicated local sink via MiracleCast.\n" | 	       "Control a dedicated local sink via MiracleCast.\n" | ||||||
| 	       "  -h --help                      Show this help\n" | 	       "  -h --help                      Show this help\n" | ||||||
| 	       "     --help-commands             Show avaliable commands\n" | 	       "     --help-commands             Show available commands\n" | ||||||
| 	       "     --version                   Show package version\n" | 	       "     --version                   Show package version\n" | ||||||
| 	       "     --log-level <lvl>           Maximum level for log messages\n" | 	       "     --log-level <lvl>           Maximum level for log messages\n" | ||||||
| 	       "     --log-journal-level <lvl>   Maximum level for journal log messages\n" | 	       "     --log-journal-level <lvl>   Maximum level for journal log messages\n" | ||||||
|  | @ -726,7 +726,7 @@ void cli_fn_help() | ||||||
| 	       "                                    default CEA  %08X\n" | 	       "                                    default CEA  %08X\n" | ||||||
| 	       "                                    default VESA %08X\n" | 	       "                                    default VESA %08X\n" | ||||||
| 	       "                                    default HH   %08X\n" | 	       "                                    default HH   %08X\n" | ||||||
| 	       "     --help-res                  Shows avaliable values for res\n" | 	       "     --help-res                  Shows available values for res\n" | ||||||
| 	       "\n" | 	       "\n" | ||||||
| 	       , program_invocation_short_name, gst_audio_en, DEFAULT_RSTP_PORT, | 	       , program_invocation_short_name, gst_audio_en, DEFAULT_RSTP_PORT, | ||||||
| 		   wfd_supported_res_cea, wfd_supported_res_vesa, wfd_supported_res_hh | 		   wfd_supported_res_cea, wfd_supported_res_vesa, wfd_supported_res_hh | ||||||
|  |  | ||||||
|  | @ -478,7 +478,7 @@ void cli_fn_help() | ||||||
| 	       "Send control command to or query the MiracleCast Wifi-Manager. If no arguments\n" | 	       "Send control command to or query the MiracleCast Wifi-Manager. If no arguments\n" | ||||||
| 	       "are given, an interactive command-line tool is provided.\n\n" | 	       "are given, an interactive command-line tool is provided.\n\n" | ||||||
| 	       "  -h --help                      Show this help\n" | 	       "  -h --help                      Show this help\n" | ||||||
| 	       "     --help-commands             Show avaliable commands\n" | 	       "     --help-commands             Show available commands\n" | ||||||
| 	       "     --version                   Show package version\n" | 	       "     --version                   Show package version\n" | ||||||
| 	       "     --log-level <lvl>           Maximum level for log messages\n" | 	       "     --log-level <lvl>           Maximum level for log messages\n" | ||||||
| 	       "     --log-journal-level <lvl>   Maximum level for journal log messages\n" | 	       "     --log-journal-level <lvl>   Maximum level for journal log messages\n" | ||||||
|  |  | ||||||
|  | @ -35,7 +35,7 @@ | ||||||
|  * of Wifi-P2P support in common network managers. Once they gain proper |  * of Wifi-P2P support in common network managers. Once they gain proper | ||||||
|  * support, we will drop this helper! |  * support, we will drop this helper! | ||||||
|  * |  * | ||||||
|  * The "ip" invokation is quite fragile and ugly. However, performing these |  * The "ip" invocation is quite fragile and ugly. However, performing these | ||||||
|  * steps directly involves netlink operations and more. As no-one came up with |  * steps directly involves netlink operations and more. As no-one came up with | ||||||
|  * patches, yet, we keep the hack. To anyone trying to fix it: Please, spend |  * patches, yet, we keep the hack. To anyone trying to fix it: Please, spend | ||||||
|  * this time hacking on NetworkManager, connman and friends instead! If they |  * this time hacking on NetworkManager, connman and friends instead! If they | ||||||
|  |  | ||||||
|  | @ -31,7 +31,7 @@ | ||||||
|  * variants to allow these. |  * variants to allow these. | ||||||
|  * Base-prefix parsing is only done if base=0 is requested. Otherwise, |  * Base-prefix parsing is only done if base=0 is requested. Otherwise, | ||||||
|  * base-prefixes are forbidden. |  * base-prefixes are forbidden. | ||||||
|  * The input string must be ASCII compatbile (which includes UTF8). |  * The input string must be ASCII compatible (which includes UTF8). | ||||||
|  * |  * | ||||||
|  * We also always check for overflows and return errors (but continue parsing!) |  * We also always check for overflows and return errors (but continue parsing!) | ||||||
|  * so callers can catch it correctly. |  * so callers can catch it correctly. | ||||||
|  |  | ||||||
|  | @ -314,7 +314,7 @@ void getUIBCGenericKeyPacket(const char *inEventDesc, | ||||||
|                   typeId = atoi(*(splitedStr + i)); |                   typeId = atoi(*(splitedStr + i)); | ||||||
|                   log_info("getUIBCGenericKeyPacket typeId=[%d]\n", typeId); |                   log_info("getUIBCGenericKeyPacket typeId=[%d]\n", typeId); | ||||||
|                   genericPacketLen = 5; |                   genericPacketLen = 5; | ||||||
|                   uibcBodyLen = genericPacketLen + 7; // Generic header legth = 7
 |                   uibcBodyLen = genericPacketLen + 7; // Generic header length = 7
 | ||||||
|                   outData = (char*)malloc(uibcBodyLen + 1); |                   outData = (char*)malloc(uibcBodyLen + 1); | ||||||
|                   // UIBC header
 |                   // UIBC header
 | ||||||
|                   outData[0] = 0x00; //Version (3 bits),T (1 bit),Reserved(8 bits),Input Category (4 bits)
 |                   outData[0] = 0x00; //Version (3 bits),T (1 bit),Reserved(8 bits),Input Category (4 bits)
 | ||||||
|  |  | ||||||
|  | @ -938,7 +938,7 @@ int manager_dbus_connect(struct manager *m) | ||||||
| 	r = sd_bus_request_name(m->bus, "org.freedesktop.miracle.wifi", 0); | 	r = sd_bus_request_name(m->bus, "org.freedesktop.miracle.wifi", 0); | ||||||
| 	if (r < 0) { | 	if (r < 0) { | ||||||
| 		if (r == -EEXIST) { | 		if (r == -EEXIST) { | ||||||
| 			log_info("cannot claim org.freedesktop.miracle.wifi bus-name: it is already being adquired"); | 			log_info("cannot claim org.freedesktop.miracle.wifi bus-name: it is already being acquired"); | ||||||
| 		} else { | 		} else { | ||||||
| 			log_error("cannot claim org.freedesktop.miracle.wifi bus-name: %d", | 			log_error("cannot claim org.freedesktop.miracle.wifi bus-name: %d", | ||||||
| 			  r); | 			  r); | ||||||
|  |  | ||||||
|  | @ -884,7 +884,7 @@ static void supplicant_parse_peer(struct supplicant *s, | ||||||
| 		/* TODO: wfd_dev_info only contains the dev-info sub-elem,
 | 		/* TODO: wfd_dev_info only contains the dev-info sub-elem,
 | ||||||
| 		 * while wfd_sublemens contains all. Fix that! The user has no | 		 * while wfd_sublemens contains all. Fix that! The user has no | ||||||
| 		 * chance to distinguish both. | 		 * chance to distinguish both. | ||||||
| 		 * We currently use it only as boolen (set/unset) but once we | 		 * We currently use it only as boolean (set/unset) but once we | ||||||
| 		 * parse it we _definitely_ have to provide proper data. */ | 		 * parse it we _definitely_ have to provide proper data. */ | ||||||
| 		r = wpas_message_dict_read(m, "wfd_dev_info", 's', &val); | 		r = wpas_message_dict_read(m, "wfd_dev_info", 's', &val); | ||||||
| 		if (r >= 0) { | 		if (r >= 0) { | ||||||
|  | @ -2219,7 +2219,7 @@ static int supplicant_global_attach_fn(struct wpas *w, | ||||||
| 	 * Devices with P2P_DEVICE support (instead of direct P2P_GO/CLIENT | 	 * Devices with P2P_DEVICE support (instead of direct P2P_GO/CLIENT | ||||||
| 	 * support) are broken with a *lot* of wpa_supplicant versions on the | 	 * support) are broken with a *lot* of wpa_supplicant versions on the | ||||||
| 	 * global interface. Therefore, try to open the p2p-dev-* interface | 	 * global interface. Therefore, try to open the p2p-dev-* interface | ||||||
| 	 * after the global-ATTACH succeded (which means the iface is properly | 	 * after the global-ATTACH succeeded (which means the iface is properly | ||||||
| 	 * set up). If this works, use the p2p-dev-* interface, otherwise, just | 	 * set up). If this works, use the p2p-dev-* interface, otherwise, just | ||||||
| 	 * copy the global interface over to bus_dev. | 	 * copy the global interface over to bus_dev. | ||||||
| 	 * Event-forwarding is broken on the global-interface in such cases, | 	 * Event-forwarding is broken on the global-interface in such cases, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue