[PSP] Addition to pspUtilityNetconfActions

Create a single thread for each patch to be added to the repository. Please try to stay on topic.
Post Reply
unsigned int
Posts: 18
Joined: Thu Aug 13, 2009 11:42 pm

[PSP] Addition to pspUtilityNetconfActions

Post by unsigned int »

This came up recently here and here.

This patch adds another value to pspUtilityNetconfActions for automatically connecting to the last used access point without showing the access point list. Same behaviour as the built-in webbrowser.

I am pretty sure that this was introduced with FW 2.0 because the webbrowser had this behaviour from the beginning, hence the #if.

Code: Select all

Index: psputility_netconf.h
===================================================================
--- psputility_netconf.h	(revision 2492)
+++ psputility_netconf.h	(working copy)
@@ -24,6 +24,9 @@
 	PSP_NETCONF_ACTION_CONNECTAP,
 	PSP_NETCONF_ACTION_DISPLAYSTATUS,
 	PSP_NETCONF_ACTION_CONNECT_ADHOC
+#if _PSP_FW_VERSION >= 200
+    ,PSP_NETCONF_ACTION_CONNECTAP_LASTUSED
+#endif
 };
 
 struct pspUtilityNetconfAdhoc
Applying the patch copied from the code tag above wasn't possible for me, so I uploaded it here too: http://www.mediafire.com/?4gktbunyiyd
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Applied, thanks
Post Reply